Merge pull request #24100 from woocommerce/update/git-hooks
Updated config for lint-staged
This commit is contained in:
commit
ac103267dc
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue