Merge pull request #24100 from woocommerce/update/git-hooks

Updated config for lint-staged
This commit is contained in:
Gerhard Potgieter 2019-07-09 11:07:50 +02:00 committed by GitHub
commit ac103267dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 17 deletions

View File

@ -75,7 +75,6 @@
}
},
"lint-staged": {
"linters": {
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs-pre-commit"
@ -88,10 +87,5 @@
"eslint --fix",
"git add"
]
},
"ignore": [
"*.min.js",
"*.css"
]
}
}