Updated config for lint-staged

This commit is contained in:
Claudio Sanches 2019-07-08 14:55:44 -03:00
parent 02f2894926
commit f65d8efc8d
1 changed files with 11 additions and 17 deletions

View File

@ -75,23 +75,17 @@
}
},
"lint-staged": {
"linters": {
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs-pre-commit"
],
"*.scss": [
"stylelint --syntax=scss --fix",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
},
"ignore": [
"*.min.js",
"*.css"
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs-pre-commit"
],
"*.scss": [
"stylelint --syntax=scss --fix",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
}
}