Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit eb9b799

Browse files
authored
Move the markdownlint-cli2 config to a file (#24)
1 parent d78ffdc commit eb9b799

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.markdownlint-cli2.jsonc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"gitignore": true,
3+
"globs": ["**/*.md"],
4+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"docusaurus": "docusaurus",
1010
"eslint": "eslint .",
1111
"eslint:fix": "eslint . --fix",
12-
"markdownlint": "markdownlint-cli2 '**/*.md' '#node_modules'",
13-
"markdownlint:fix": "markdownlint-cli2 '**/*.md' '#node_modules' --fix",
12+
"markdownlint": "markdownlint-cli2",
13+
"markdownlint:fix": "markdownlint-cli2 --fix",
1414
"prepare": "husky",
1515
"prettier": "prettier . --check",
1616
"prettier:fix": "prettier . --write",

0 commit comments

Comments
 (0)