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