Skip to content

Commit 8d0fdf1

Browse files
committed
fix(lint): use --fix in .lintstagedrc
1 parent a591c0c commit 8d0fdf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/site/.lintstagedrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"**/*.{js,mjs,ts,tsx,md,mdx}": ["prettier --check --write", "eslint --fix"],
3-
"**/*.css": ["stylelint --allow-empty-input", "prettier --write"],
3+
"**/*.css": ["stylelint --allow-empty-input --fix", "prettier --write"],
44
"**/*.{json,yml}": ["prettier --check --write"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"**/*.{js,mjs,ts,tsx,md,mdx}": ["prettier --check --write", "eslint --fix"],
3-
"**/*.css": ["stylelint --allow-empty-input", "prettier --write"],
3+
"**/*.css": ["stylelint --allow-empty-input --fix", "prettier --write"],
44
"**/*.{json,yml}": ["prettier --check --write"]
55
}

0 commit comments

Comments
 (0)