Skip to content

Commit 1d34904

Browse files
committed
Update to version 0.16.0.
1 parent 62c588e commit 1d34904

6 files changed

+28
-23
lines changed

.pre-commit-hooks.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
entry: markdownlint-cli2
55
language: node
66
types: [markdown]
7-
minimum_pre_commit_version: 0.15.0
7+
minimum_pre_commit_version: 0.16.0
88
- id: markdownlint-cli2-docker
99
name: markdownlint-cli2-docker
1010
description: "Checks the style of Markdown/CommonMark files."
1111
entry: davidanson/markdownlint-cli2
1212
language: docker_image
1313
types: [markdown]
14-
minimum_pre_commit_version: 0.15.0
14+
minimum_pre_commit_version: 0.16.0
1515
- id: markdownlint-cli2-rules-docker
1616
name: markdownlint-cli2-rules-docker
1717
description: "Checks the style of Markdown/CommonMark files."
1818
entry: davidanson/markdownlint-cli2-rules
1919
language: docker_image
2020
types: [markdown]
21-
minimum_pre_commit_version: 0.15.0
21+
minimum_pre_commit_version: 0.16.0

CHANGELOG.md

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

3+
## 0.16.0
4+
5+
- Try not to use require for modules (due to Node 22.12)
6+
- Update dependencies (EXcluding `markdownlint`)
7+
38
## 0.15.0
49

510
- Add support for `stdin` input via `-` glob

README.md

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

151151
```bash
152-
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.15.0 "**/*.md" "#node_modules"
152+
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.16.0 "**/*.md" "#node_modules"
153153
```
154154

155155
Notes:
@@ -166,7 +166,7 @@ Notes:
166166
- A custom working directory can be specified with Docker's `-w` flag:
167167

168168
```bash
169-
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.15.0 "**/*.md" "#node_modules"
169+
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.16.0 "**/*.md" "#node_modules"
170170
```
171171

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

414414
```yaml
415415
- repo: https://github.com/DavidAnson/markdownlint-cli2
416-
rev: v0.15.0
416+
rev: v0.16.0
417417
hooks:
418418
- id: markdownlint-cli2
419419
```

markdownlint-cli2.js

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

3131
// Variables
3232
const packageName = "markdownlint-cli2";
33-
const packageVersion = "0.15.0";
33+
const packageVersion = "0.16.0";
3434
const libraryName = "markdownlint";
3535
const libraryVersion = getLibraryVersion();
3636
const bannerMessage = `${packageName} v${packageVersion} (${libraryName} v${libraryVersion})`;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "markdownlint-cli2",
3-
"version": "0.15.0",
3+
"version": "0.16.0",
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

+15-15
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.15.0/schema/markdownlint-cli2-config-schema.json",
3+
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.16.0/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.15.0/schema/markdownlint-cli2-config-schema.json"
10+
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.16.0/schema/markdownlint-cli2-config-schema.json"
1111
},
1212
"config": {
1313
"description": "markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/schema/.markdownlint.jsonc",
1414
"$ref": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.36.1/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.15.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.16.0/README.md#markdownlint-cli2jsonc",
1919
"type": "array",
2020
"default": [],
2121
"items": {
@@ -25,26 +25,26 @@
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.15.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.16.0/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.15.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.16.0/README.md#markdownlint-cli2jsonc",
3434
"type": "string",
3535
"minLength": 1,
3636
"default": ""
3737
},
3838
"gitignore": {
39-
"description": "Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
39+
"description": "Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
4040
"type": [
4141
"boolean",
4242
"string"
4343
],
4444
"default": false
4545
},
4646
"globs": {
47-
"description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
47+
"description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
4848
"type": "array",
4949
"default": [],
5050
"items": {
@@ -54,7 +54,7 @@
5454
}
5555
},
5656
"ignores": {
57-
"description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
57+
"description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
5858
"type": "array",
5959
"default": [],
6060
"items": {
@@ -64,7 +64,7 @@
6464
}
6565
},
6666
"markdownItPlugins": {
67-
"description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
67+
"description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
6868
"type": "array",
6969
"default": [],
7070
"items": {
@@ -84,7 +84,7 @@
8484
}
8585
},
8686
"modulePaths": {
87-
"description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
87+
"description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
8888
"type": "array",
8989
"default": [],
9090
"items": {
@@ -94,22 +94,22 @@
9494
}
9595
},
9696
"noBanner": {
97-
"description": "Whether to disable the display of the banner message and version numbers on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
97+
"description": "Whether to disable the display of the banner message and version numbers on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
9898
"type": "boolean",
9999
"default": false
100100
},
101101
"noInlineConfig": {
102-
"description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
102+
"description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
103103
"type": "boolean",
104104
"default": false
105105
},
106106
"noProgress": {
107-
"description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
107+
"description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
108108
"type": "boolean",
109109
"default": false
110110
},
111111
"outputFormatters": {
112-
"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.15.0/README.md#markdownlint-cli2jsonc",
112+
"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.16.0/README.md#markdownlint-cli2jsonc",
113113
"type": "array",
114114
"default": [],
115115
"items": {
@@ -129,7 +129,7 @@
129129
}
130130
},
131131
"showFound": {
132-
"description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc",
132+
"description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc",
133133
"type": "boolean",
134134
"default": false
135135
}

0 commit comments

Comments
 (0)