Skip to content

Commit e96224e

Browse files
committed
Update to version 0.12.0.
1 parent 26fc565 commit e96224e

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 0.12.0
4+
5+
- Remove deprecated `markdownlint-cli2-config` entry point
6+
- Use `markdownlint-cli2 --config ...` instead
7+
- Remove deprecated `markdownlint-cli2-fix` entry point
8+
- Use `markdownlint-cli2 --fix ...` instead
9+
- Add `--help` and `--no-globs` parameters
10+
- Improve and document included JSON schemas
11+
- Update dependencies (including `markdownlint`)
12+
313
## 0.11.0
414

515
- Add `modulePaths` configuration option

README.md

Lines changed: 3 additions & 3 deletions
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.11.0 "**/*.md" "#node_modules"
150+
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.12.0 "**/*.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.11.0 "**/*.md" "#node_modules"
167+
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.12.0 "**/*.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.11.0
399+
rev: v0.12.0
400400
hooks:
401401
- id: markdownlint-cli2
402402
```

markdownlint-cli2.js

Lines changed: 1 addition & 1 deletion
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.11.0";
29+
const packageVersion = "0.12.0";
3030
const libraryName = "markdownlint";
3131
const libraryVersion = markdownlintLibrary.getVersion();
3232
const dotOnlySubstitute = "*.{md,markdown}";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "markdownlint-cli2",
3-
"version": "0.11.0",
3+
"version": "0.12.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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.11.0/schema/markdownlint-cli2-config-schema.json",
3+
"$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.12.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.11.0/schema/markdownlint-cli2-config-schema.json"
10+
"default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.12.0/schema/markdownlint-cli2-config-schema.json"
1111
},
1212
"config": {
1313
"description": "markdownlint-cli2 configuration schema",

0 commit comments

Comments
 (0)