markdownlint-cli2 0.9.1 → 0.9.2
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 +4 -4
- package/markdownlint-cli2.js +1 -1
- package/package.json +1 -4
- package/npm-shrinkwrap.json +0 -5613
package/README.md
CHANGED
|
@@ -167,7 +167,7 @@ A container image [`davidanson/markdownlint-cli2`][docker-hub-markdownlint-cli2]
|
|
|
167
167
|
can also be used (e.g., as part of a CI pipeline):
|
|
168
168
|
|
|
169
169
|
```bash
|
|
170
|
-
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.9.
|
|
170
|
+
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.9.2 "**/*.md" "#node_modules"
|
|
171
171
|
```
|
|
172
172
|
|
|
173
173
|
Notes:
|
|
@@ -184,7 +184,7 @@ Notes:
|
|
|
184
184
|
- A custom working directory can be specified with Docker's `-w` flag:
|
|
185
185
|
|
|
186
186
|
```bash
|
|
187
|
-
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.9.
|
|
187
|
+
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.9.2 "**/*.md" "#node_modules"
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
> **Deprecated**
|
|
@@ -193,7 +193,7 @@ Notes:
|
|
|
193
193
|
> instead, use Docker's `--entrypoint` flag:
|
|
194
194
|
>
|
|
195
195
|
> ```bash
|
|
196
|
-
> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.9.
|
|
196
|
+
> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.9.2 "**/*.md" "#node_modules"
|
|
197
197
|
> ```
|
|
198
198
|
|
|
199
199
|
For convenience, the container image
|
|
@@ -412,7 +412,7 @@ reference to the `repos` list in that project's `.pre-commit-config.yaml` like:
|
|
|
412
412
|
|
|
413
413
|
```yaml
|
|
414
414
|
- repo: https://github.com/DavidAnson/markdownlint-cli2
|
|
415
|
-
rev: v0.9.
|
|
415
|
+
rev: v0.9.2
|
|
416
416
|
hooks:
|
|
417
417
|
- id: markdownlint-cli2
|
|
418
418
|
```
|
package/markdownlint-cli2.js
CHANGED
|
@@ -26,7 +26,7 @@ const resolveAndRequire = require("./resolve-and-require");
|
|
|
26
26
|
|
|
27
27
|
// Variables
|
|
28
28
|
const packageName = "markdownlint-cli2";
|
|
29
|
-
const packageVersion = "0.9.
|
|
29
|
+
const packageVersion = "0.9.2";
|
|
30
30
|
const libraryName = "markdownlint";
|
|
31
31
|
const libraryVersion = markdownlintLibrary.getVersion();
|
|
32
32
|
const dotOnlySubstitute = "*.{md,markdown}";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdownlint-cli2",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "David Anson",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"test-docker-hub-image-rules": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker image rm davidanson/markdownlint-cli2-rules:v$VERSION davidanson/markdownlint-cli2-rules:latest || true && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:v$VERSION \"*.md\" && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:latest \"*.md\"",
|
|
43
43
|
"test-cover": "c8 --100 npm test -- --concurrency=1",
|
|
44
44
|
"test-watch": "git ls-files | entr npm run test",
|
|
45
|
-
"update-shrinkwrap": "del-cli node_modules npm-shrinkwrap.json && npm install --omit=dev --omit=optional --omit=peer && npm shrinkwrap && npm install --no-package-lock",
|
|
46
45
|
"update-snapshots": "ava --timeout=1m --update-snapshots test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js",
|
|
47
46
|
"upgrade": "npx --yes npm-check-updates --upgrade",
|
|
48
47
|
"webworker": "cd webworker && webpack --mode none",
|
|
@@ -59,7 +58,6 @@
|
|
|
59
58
|
"markdownlint-cli2-config.js",
|
|
60
59
|
"markdownlint-cli2-fix.js",
|
|
61
60
|
"merge-options.js",
|
|
62
|
-
"npm-shrinkwrap.json",
|
|
63
61
|
"resolve-and-require.js"
|
|
64
62
|
],
|
|
65
63
|
"dependencies": {
|
|
@@ -76,7 +74,6 @@
|
|
|
76
74
|
"c8": "8.0.1",
|
|
77
75
|
"cpy": "10.1.0",
|
|
78
76
|
"del": "7.0.0",
|
|
79
|
-
"del-cli": "5.0.1",
|
|
80
77
|
"eslint": "8.47.0",
|
|
81
78
|
"eslint-plugin-n": "16.0.2",
|
|
82
79
|
"eslint-plugin-unicorn": "48.0.1",
|