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

master
Maxime Thirouin 2017-09-04 09:42:26 +02:00 committed by Lucas Azzola
parent a29b407dda
commit 7eaf5c7cb7
1 changed files with 1 additions and 1 deletions

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"
]