Added lint-staged rule for CSS files
This commit is contained in:
parent
a801714f16
commit
af0563eb70
@ -21,6 +21,11 @@
|
|||||||
"*.@(js|jsx)": [
|
"*.@(js|jsx)": [
|
||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"git add"
|
"git add"
|
||||||
|
],
|
||||||
|
"*.css": [
|
||||||
|
"stylefmt",
|
||||||
|
"stylelint",
|
||||||
|
"git add"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"pre-commit": "lint:staged",
|
"pre-commit": "lint:staged",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user