diff --git a/composer.json b/composer.json
index 0b98e15..1707e76 100755
--- a/composer.json
+++ b/composer.json
@@ -34,8 +34,8 @@
"phpstan/phpstan-deprecation-rules": "^1.2"
},
"scripts": {
- "lint": "phpcs .",
- "lint-fix": "phpcbf .",
+ "lint": "./vendor/bin/phpcs --standard=./phpcs.xml",
+ "lint-fix": "./vendor/bin/phpcbf --standard=./phpcs.xml",
"static": [
"Composer\\Config::disableProcessTimeout",
"phpstan --memory-limit=1G"
diff --git a/phpcs.xml b/phpcs.xml
index d0a9bac..579bba3 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -3,8 +3,8 @@
10up PHPCS extended.
- ./themes/*
- ./mu-plugins/*
+ themes
+ mu-plugins
node_modules/