Ignore warnings from PHPCS in pre-commit
This commit is contained in:
parent
b25665add9
commit
2efe077678
|
@ -22,6 +22,9 @@
|
|||
"phpcs": [
|
||||
"phpcs -s -p"
|
||||
],
|
||||
"phpcs-pre-commit": [
|
||||
"phpcs -s -p -n"
|
||||
],
|
||||
"phpcbf": [
|
||||
"phpcbf -p"
|
||||
]
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
"linters": {
|
||||
"*.php": [
|
||||
"php -d display_errors=1 -l",
|
||||
"composer run-script phpcs"
|
||||
"composer run-script phpcs-pre-commit"
|
||||
],
|
||||
"*.scss": [
|
||||
"stylelint --syntax=scss --fix",
|
||||
|
|
Loading…
Reference in New Issue