Skip to content

Commit

Permalink
Update to version 0.7.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Apr 28, 2023
1 parent 7e63e4c commit 524cb58
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.7.1

- Update dependencies (including `markdownlint`)

## 0.7.0

- Add support for `extends` in `config` property of `.markdownlint-cli2.*` files
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,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.7.0 "**/*.md" "#node_modules"
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.7.1 "**/*.md" "#node_modules"
```

Notes:
Expand All @@ -162,14 +162,14 @@ 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.7.0 "**/*.md" "#node_modules"
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.7.1 "**/*.md" "#node_modules"
```

To invoke the `markdownlint-cli2-config` or `markdownlint-cli2-fix` commands
instead, use Docker's `--entrypoint` flag:

```bash
docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.7.0 "**/*.md" "#node_modules"
docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.7.1 "**/*.md" "#node_modules"
```

For convenience, the container image
Expand Down Expand Up @@ -378,7 +378,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.7.0
rev: v0.7.1
hooks:
- id: markdownlint-cli2
```
Expand Down
2 changes: 1 addition & 1 deletion markdownlint-cli2.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const resolveAndRequire = require("./resolve-and-require");

// Variables
const packageName = "markdownlint-cli2";
const packageVersion = "0.7.0";
const packageVersion = "0.7.1";
const libraryName = "markdownlint";
const libraryVersion = markdownlintLibrary.getVersion();
const dotOnlySubstitute = "*.{md,markdown}";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "markdownlint-cli2",
"version": "0.7.0",
"version": "0.7.1",
"description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library",
"author": {
"name": "David Anson",
Expand Down

0 comments on commit 524cb58

Please sign in to comment.