Skip to content

Commit 409f5e7

Browse files
authored
Updated markdownlint commands in CONTRIBUTING.md (#7125)
1 parent 24cf1de commit 409f5e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ There are other available commands too. As set up in the [.build](./.build/) dir
7575

7676
## How to Check the docs
7777

78-
We use [Markdownlint](https://github.com/DavidAnson/markdownlint) to check markdown formatting and [CSpell](https://cspell.org) for spelling. We have GitHub actions to check these for PRs, but if you'd like to check locally, you can:
78+
We use [markdownlint](https://github.com/DavidAnson/markdownlint) to check markdown formatting and [CSpell](https://cspell.org) for spelling. We have GitHub actions to check these for PRs, but if you'd like to check locally, you can:
7979

8080
- Install CSpell: `npm install --global cspell`
81-
- Install the markdownlint CLI: `npm install -g markdownlint-cli`.
81+
- Install the markdownlint CLI: `npm install --global markdownlint-cli2`.
8282
- For spellcheck, run `cspell --config ./cspell.json "website/src/**/*.md" --no-progress`
83-
- For markdown linting, run `markdownlint "./website/src/**/*.md" --disable MD013`
83+
- For markdown linting, run `markdownlint-cli2 "*.md" "website/src/**/*.md"`
8484

8585
## Code of conduct
8686

0 commit comments

Comments
 (0)