From ef974bde8375da10f3aa38a1b6ce646a34a23446 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sat, 16 Sep 2023 17:05:04 -0700 Subject: [PATCH] Update to version 0.10.0. --- CHANGELOG.md | 6 ++++++ README.md | 8 ++++---- markdownlint-cli2.js | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fa76349..29a7e28c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.10.0 + +- Add `showFound` configuration option +- Add `.markdownlint-cli2.jsonc` config schema +- Update dependencies (including `markdownlint`) + ## 0.9.2 - Remove `npm-shrinkwrap.json` entirely to avoid `npm` failures diff --git a/README.md b/README.md index 99b89448..56988974 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ A container image [`davidanson/markdownlint-cli2`][docker-hub-markdownlint-cli2] can also be used (e.g., as part of a CI pipeline): ```bash -docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.9.2 "**/*.md" "#node_modules" +docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.10.0 "**/*.md" "#node_modules" ``` Notes: @@ -184,7 +184,7 @@ Notes: - A custom working directory can be specified with Docker's `-w` flag: ```bash - docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.9.2 "**/*.md" "#node_modules" + docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.10.0 "**/*.md" "#node_modules" ``` > **Deprecated** @@ -193,7 +193,7 @@ Notes: > instead, use Docker's `--entrypoint` flag: > > ```bash -> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.9.2 "**/*.md" "#node_modules" +> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.10.0 "**/*.md" "#node_modules" > ``` For convenience, the container image @@ -415,7 +415,7 @@ reference to the `repos` list in that project's `.pre-commit-config.yaml` like: ```yaml - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.9.2 + rev: v0.10.0 hooks: - id: markdownlint-cli2 ``` diff --git a/markdownlint-cli2.js b/markdownlint-cli2.js index c8a9d82f..eaa10927 100755 --- a/markdownlint-cli2.js +++ b/markdownlint-cli2.js @@ -26,7 +26,7 @@ const resolveAndRequire = require("./resolve-and-require"); // Variables const packageName = "markdownlint-cli2"; -const packageVersion = "0.9.2"; +const packageVersion = "0.10.0"; const libraryName = "markdownlint"; const libraryVersion = markdownlintLibrary.getVersion(); const dotOnlySubstitute = "*.{md,markdown}"; diff --git a/package.json b/package.json index 2886fbd0..1ac4bdf7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdownlint-cli2", - "version": "0.9.2", + "version": "0.10.0", "description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library", "author": { "name": "David Anson",