Skip to content

Commit fa2339e

Browse files
authored
refactor(stylinelint): not lint config on every run
1 parent 88f48d9 commit fa2339e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.config/.lintstagedrc.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"*.md": "markdownlint -c .markdown-lint.yml",
3-
"*.{css,scss}": "stylelint --fix",
3+
".stylelintrc.*": "stylelint --validate --allow-empty-input",
4+
"stylelint.config.*": "stylelint --validate --allow-empty-input",
5+
"*.{css,scss}": "stylelint --fix --no-validate",
46
"*.{js,ts,tsx,jsx,mjs,cjs}": "xo --fix"
57
}

0 commit comments

Comments
 (0)