Skip to content

Commit ba108f7

Browse files
authored
chore: add eslint fix command for Markdown files in lint-staged (#343)
* chore: add eslint fix command for Markdown files in lint-staged * wip
1 parent 852645e commit ba108f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
"eslint --fix",
4646
"prettier --write"
4747
],
48+
"*.md": [
49+
"eslint --fix",
50+
"eslint --fix -c eslint.config-content.js"
51+
],
4852
"!(*.{js,md})": "prettier --write --ignore-unknown",
4953
"{src/rules/*.js,tools/update-rules-docs.js,README.md}": "npm run build:update-rules-docs"
5054
},

0 commit comments

Comments
 (0)