Improve lint-staged setup example by adding more filetypes (#2746)

This commit is contained in:
Maxime Thirouin authored and Lucas Azzola committed 2017-09-04 17:42:26 +10:00
1 parent a29b407dda
commit 7eaf5c7cb7
1 file changed
+1 -1
+1 -1
View File
@@ -351,7 +351,7 @@ and add this config to your `package.json`:
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"*.{js,json,css}": [
"prettier --write",
"git add"
]