Skip to content

Commit 55b2fdb

Browse files
committed
ci: Improve PHP linting performance
- Modified script to exclude vendor/ and node_modules/ directories. - Prevents unnecessary linting of third-party dependencies, reducing runtime on CI.
1 parent 8252a1b commit 55b2fdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
}
2525
},
2626
"scripts": {
27-
"lint": "phpcs --standard=WordPress ./"
27+
"lint": "phpcs --standard=WordPress --ignore=vendor/*,node_modules/* ./"
2828
}
2929
}

0 commit comments

Comments
 (0)