Skip to content

Commit

Permalink
Update to version 0.9.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Aug 22, 2023
1 parent 5dd71f7 commit 6b75793
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.9.0

- Add support for Node.js's `package.json` as a configuration file source
- Add output formatter for Static Analysis Results Interchange Format/SARIF
- Bundle `npm-shrinkwrap.json` for reproducable/faster installs
- Update dependencies (including `markdownlint`)

## 0.8.1

- Handle `--config` edge case
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.1 "**/*.md" "#node_modules"
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.9.0 "**/*.md" "#node_modules"
```

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

> **Deprecated**
Expand All @@ -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.8.1 "**/*.md" "#node_modules"
> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.9.0 "**/*.md" "#node_modules"
> ```

For convenience, the container image
Expand Down Expand Up @@ -412,7 +412,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.8.1
rev: v0.9.0
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 @@ -26,7 +26,7 @@ const resolveAndRequire = require("./resolve-and-require");

// Variables
const packageName = "markdownlint-cli2";
const packageVersion = "0.8.1";
const packageVersion = "0.9.0";
const libraryName = "markdownlint";
const libraryVersion = markdownlintLibrary.getVersion();
const dotOnlySubstitute = "*.{md,markdown}";
Expand Down
4 changes: 2 additions & 2 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.8.1",
"version": "0.9.0",
"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 6b75793

Please sign in to comment.