Added lint-staged rule for CSS files

This commit is contained in:
Andrey Okonetchnikov 2016-10-05 12:34:27 +02:00
parent a801714f16
commit af0563eb70

View File

@ -21,6 +21,11 @@
"*.@(js|jsx)": [
"eslint --fix",
"git add"
],
"*.css": [
"stylefmt",
"stylelint",
"git add"
]
},
"pre-commit": "lint:staged",