Add the include directory for linting

This commit is contained in:
pxgamer
2018-05-29 15:31:48 +01:00
parent 5d5e4d1f3c
commit af98de2e86

View File

@@ -13,7 +13,7 @@
"squizlabs/php_codesniffer": "^3.2"
},
"scripts": {
"check-style": "phpcs -p -l --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 .",
"fix-style": "phpcbf -p -l --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ."
"check-style": "phpcs -p -l --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 . include",
"fix-style": "phpcbf -p -l --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 . include"
}
}