markdownlint-cli 0.36.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ JS configuration files contain JavaScript code, must have the `.js` or `.cjs` fi
|
|
|
113
113
|
If your workspace _(project)_ is [ESM-only] _(`"type": "module"` set in the root `package.json` file)_, then the configuration file **should end with `.cjs` file extension**.
|
|
114
114
|
A JS configuration file may internally `require` one or more npm packages as a way of reusing configuration across projects.
|
|
115
115
|
|
|
116
|
-
`--enable` and `--disable` override configuration files; if a configuration file disables `
|
|
116
|
+
`--enable` and `--disable` override configuration files; if a configuration file disables `MD123` and you pass `--enable MD123`, it will be enabled.
|
|
117
117
|
If a rule is passed to both `--enable` and `--disable`, it will be disabled.
|
|
118
118
|
|
|
119
119
|
> JS configuration files must be provided via the `--config` argument; they are not automatically loaded because running untrusted code is a security concern.
|
|
@@ -134,7 +134,7 @@ To run `markdownlint-cli` as part of a [pre-commit][pre-commit] workflow, add so
|
|
|
134
134
|
|
|
135
135
|
```yaml
|
|
136
136
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
137
|
-
rev: v0.
|
|
137
|
+
rev: v0.38.0
|
|
138
138
|
hooks:
|
|
139
139
|
- id: markdownlint
|
|
140
140
|
```
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdownlint-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "MarkdownLint Command Line Interface",
|
|
5
5
|
"main": "markdownlint.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"markdownlint": "markdownlint.js"
|
|
8
8
|
},
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=18"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"invalid": "node ./markdownlint.js --config test/test-config.json -- test/incorrect.md",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/igorshubovych/markdownlint-cli#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"commander": "~11.
|
|
40
|
+
"commander": "~11.1.0",
|
|
41
41
|
"get-stdin": "~9.0.0",
|
|
42
|
-
"glob": "~10.3.
|
|
43
|
-
"ignore": "~5.
|
|
42
|
+
"glob": "~10.3.10",
|
|
43
|
+
"ignore": "~5.3.0",
|
|
44
44
|
"js-yaml": "^4.1.0",
|
|
45
45
|
"jsonc-parser": "~3.2.0",
|
|
46
|
-
"markdownlint": "~0.
|
|
46
|
+
"markdownlint": "~0.32.1",
|
|
47
47
|
"minimatch": "~9.0.3",
|
|
48
48
|
"run-con": "~1.3.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"ava": "^
|
|
51
|
+
"ava": "^6.0.1",
|
|
52
52
|
"execa": "^8.0.1",
|
|
53
53
|
"markdownlint-cli-local-test-rule": "./test/custom-rules/markdownlint-cli-local-test-rule",
|
|
54
54
|
"xo": "^0.56.0"
|