Skip to content

Commit 82c791e

Browse files
committed
Update to version 0.12.1.
1 parent b358ece commit 82c791e

6 files changed

+25
-19
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.12.1
4+
5+
- Update JSONC parsing to handle trailing commas
6+
- Add documentation links to JSON schema
7+
- Update dependencies
8+
39
## 0.12.0
410

511
- Remove deprecated `markdownlint-cli2-config` entry point

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ A container image [`davidanson/markdownlint-cli2`][docker-hub-markdownlint-cli2]
147147
can also be used (e.g., as part of a CI pipeline):
148148

149149
```bash
150-
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.12.0 "**/*.md" "#node_modules"
150+
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.12.1 "**/*.md" "#node_modules"
151151
```
152152

153153
Notes:
@@ -164,7 +164,7 @@ Notes:
164164
- A custom working directory can be specified with Docker's `-w` flag:
165165

166166
```bash
167-
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.12.0 "**/*.md" "#node_modules"
167+
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.12.1 "**/*.md" "#node_modules"
168168
```
169169

170170
For convenience, the container image
@@ -396,7 +396,7 @@ reference to the `repos` list in that project's `.pre-commit-config.yaml` like:
396396

397397
```yaml
398398
- repo: https://github.com/DavidAnson/markdownlint-cli2
399-
rev: v0.12.0
399+
rev: v0.12.1
400400
hooks:
401401
- id: markdownlint-cli2
402402
```

doc/OutputFormatters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ For a `.markdownlint-cli2.jsonc` like:
6363
[formatter-junit]: ../formatter-junit/markdownlint-cli2-formatter-junit.js
6464
[formatter-sarif]: ../formatter-sarif/markdownlint-cli2-formatter-sarif.js
6565
[markdownlint-cli2-formatter]: https://www.npmjs.com/search?q=keywords:markdownlint-cli2-formatter
66-
[markdownlint-d-ts]: https://github.com/DavidAnson/markdownlint/blob/v0.32.1/lib/markdownlint.d.ts
66+
[markdownlint-d-ts]: https://github.com/DavidAnson/markdownlint/blob/v0.33.0/lib/markdownlint.d.ts

markdownlint-cli2.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const resolveAndRequire = require("./resolve-and-require");
2626

2727
// Variables
2828
const packageName = "markdownlint-cli2";
29-
const packageVersion = "0.12.0";
29+
const packageVersion = "0.12.1";
3030
const libraryName = "markdownlint";
3131
const libraryVersion = markdownlintLibrary.getVersion();
3232
const dotOnlySubstitute = "*.{md,markdown}";

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "markdownlint-cli2",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library",
55
"author": {
66
"name": "David Anson",

schema/markdownlint-cli2-config-schema.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.12.0/schema/markdownlint-cli2-config-schema.json",
3+
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.12.1/schema/markdownlint-cli2-config-schema.json",
44
"title": "markdownlint-cli2 configuration schema",
55
"type": "object",
66
"properties": {
77
"$schema": {
88
"description": "JSON Schema URI (expected by some editors)",
99
"type": "string",
10-
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.12.0/schema/markdownlint-cli2-config-schema.json"
10+
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.12.1/schema/markdownlint-cli2-config-schema.json"
1111
},
1212
"config": {
1313
"description": "markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/schema/.markdownlint.jsonc",
1414
"$ref": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.33.0/schema/markdownlint-config-schema.json",
1515
"default": {}
1616
},
1717
"customRules": {
18-
"description": "Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
18+
"description": "Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
1919
"type": "array",
2020
"default": [],
2121
"items": {
@@ -25,18 +25,18 @@
2525
}
2626
},
2727
"fix": {
28-
"description": "Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
28+
"description": "Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
2929
"type": "boolean",
3030
"default": false
3131
},
3232
"frontMatter": {
33-
"description": "Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
33+
"description": "Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
3434
"type": "string",
3535
"minLength": 1,
3636
"default": ""
3737
},
3838
"globs": {
39-
"description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
39+
"description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
4040
"type": "array",
4141
"default": [],
4242
"items": {
@@ -46,7 +46,7 @@
4646
}
4747
},
4848
"ignores": {
49-
"description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
49+
"description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
5050
"type": "array",
5151
"default": [],
5252
"items": {
@@ -56,7 +56,7 @@
5656
}
5757
},
5858
"markdownItPlugins": {
59-
"description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
59+
"description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
6060
"type": "array",
6161
"default": [],
6262
"items": {
@@ -76,7 +76,7 @@
7676
}
7777
},
7878
"modulePaths": {
79-
"description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
79+
"description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
8080
"type": "array",
8181
"default": [],
8282
"items": {
@@ -86,17 +86,17 @@
8686
}
8787
},
8888
"noInlineConfig": {
89-
"description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
89+
"description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
9090
"type": "boolean",
9191
"default": false
9292
},
9393
"noProgress": {
94-
"description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
94+
"description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
9595
"type": "boolean",
9696
"default": false
9797
},
9898
"outputFormatters": {
99-
"description": "Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
99+
"description": "Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
100100
"type": "array",
101101
"default": [],
102102
"items": {
@@ -116,7 +116,7 @@
116116
}
117117
},
118118
"showFound": {
119-
"description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.0/README.md#markdownlint-cli2jsonc",
119+
"description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.12.1/README.md#markdownlint-cli2jsonc",
120120
"type": "boolean",
121121
"default": false
122122
}

0 commit comments

Comments
 (0)