Skip to content

Commit 7d0009b

Browse files
committed
Use .markdownlintignore.
This allows us to automatically ignore all gitignore'd files, rather than having to maintain the patterns in package.json.
1 parent ba9d9c1 commit 7d0009b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.markdownlintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.gitignore

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"lint": "markdownlint *.md controls/*.md",
4-
"format": "markdownlint *.md controls/*.md --fix"
3+
"lint": "markdownlint .",
4+
"format": "markdownlint . --fix"
55
},
66
"dependencies": {
77
"markdownlint-cli": "^0.27.1"

0 commit comments

Comments
 (0)