Skip to content

Commit 631df04

Browse files
authored
refactor(stylinelint): not lint config on every run
1 parent feb97ee commit 631df04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.config/.lintstagedrc.json

Lines changed: 3 additions & 1 deletion
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}": "xo --fix"
57
}

0 commit comments

Comments
 (0)