Skip to content

Commit 878a27e

Browse files
committed
use .gitignore in markdownlint cmd
which is more general than just ignoring `node_modules`
1 parent a728b5d commit 878a27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
with:
1313
node-version: '18'
1414
- run: npm install -g markdownlint-cli
15-
- run: markdownlint '**/*.md' --ignore node_modules
15+
- run: markdownlint '**/*.md' --ignore-path=.gitignore

0 commit comments

Comments
 (0)