markdownlint-cli2 0.7.0 → 0.7.1
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 +4 -4
package/README.md
CHANGED
|
@@ -145,7 +145,7 @@ A container image [`davidanson/markdownlint-cli2`][docker-hub-markdownlint-cli2]
|
|
|
145
145
|
can also be used (e.g., as part of a CI pipeline):
|
|
146
146
|
|
|
147
147
|
```bash
|
|
148
|
-
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.7.
|
|
148
|
+
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.7.1 "**/*.md" "#node_modules"
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
Notes:
|
|
@@ -162,14 +162,14 @@ Notes:
|
|
|
162
162
|
- A custom working directory can be specified with Docker's `-w` flag:
|
|
163
163
|
|
|
164
164
|
```bash
|
|
165
|
-
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.7.
|
|
165
|
+
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.7.1 "**/*.md" "#node_modules"
|
|
166
166
|
```
|
|
167
167
|
|
|
168
168
|
To invoke the `markdownlint-cli2-config` or `markdownlint-cli2-fix` commands
|
|
169
169
|
instead, use Docker's `--entrypoint` flag:
|
|
170
170
|
|
|
171
171
|
```bash
|
|
172
|
-
docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.7.
|
|
172
|
+
docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.7.1 "**/*.md" "#node_modules"
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
For convenience, the container image
|
|
@@ -378,7 +378,7 @@ reference to the `repos` list in that project's `.pre-commit-config.yaml` like:
|
|
|
378
378
|
|
|
379
379
|
```yaml
|
|
380
380
|
- repo: https://github.com/DavidAnson/markdownlint-cli2
|
|
381
|
-
rev: v0.7.
|
|
381
|
+
rev: v0.7.1
|
|
382
382
|
hooks:
|
|
383
383
|
- id: markdownlint-cli2
|
|
384
384
|
```
|
package/markdownlint-cli2.js
CHANGED
|
@@ -25,7 +25,7 @@ const resolveAndRequire = require("./resolve-and-require");
|
|
|
25
25
|
|
|
26
26
|
// Variables
|
|
27
27
|
const packageName = "markdownlint-cli2";
|
|
28
|
-
const packageVersion = "0.7.
|
|
28
|
+
const packageVersion = "0.7.1";
|
|
29
29
|
const libraryName = "markdownlint";
|
|
30
30
|
const libraryVersion = markdownlintLibrary.getVersion();
|
|
31
31
|
const dotOnlySubstitute = "*.{md,markdown}";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdownlint-cli2",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
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",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"globby": "13.1.4",
|
|
65
|
-
"markdownlint": "0.28.
|
|
65
|
+
"markdownlint": "0.28.2",
|
|
66
66
|
"markdownlint-cli2-formatter-default": "0.0.4",
|
|
67
67
|
"micromatch": "4.0.5",
|
|
68
68
|
"strip-json-comments": "5.0.0",
|
|
69
|
-
"yaml": "2.2.
|
|
69
|
+
"yaml": "2.2.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@iktakahiro/markdown-it-katex": "4.0.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"c8": "7.13.0",
|
|
75
75
|
"cpy": "9.0.1",
|
|
76
76
|
"del": "7.0.0",
|
|
77
|
-
"eslint": "8.
|
|
77
|
+
"eslint": "8.39.0",
|
|
78
78
|
"eslint-plugin-n": "15.7.0",
|
|
79
79
|
"eslint-plugin-unicorn": "46.0.0",
|
|
80
80
|
"execa": "7.1.1",
|