mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-27 15:40:16 +00:00
build: Always exclude vendor and node_modules
Change-Id: Icc4f36c64da5836957289f4985f131b1dc09b1b3
This commit is contained in:
parent
8a382bd27b
commit
d973bb7a7b
|
@ -1 +1,2 @@
|
||||||
node_modules
|
node_modules
|
||||||
|
vendor
|
||||||
|
|
|
@ -19,7 +19,8 @@ module.exports = function ( grunt ) {
|
||||||
jsonlint: {
|
jsonlint: {
|
||||||
all: [
|
all: [
|
||||||
'**/*.json',
|
'**/*.json',
|
||||||
'!node_modules/**'
|
'!node_modules/**',
|
||||||
|
'!vendor/**'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
jshint: {
|
jshint: {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"minus-x fix ."
|
"minus-x fix ."
|
||||||
],
|
],
|
||||||
"test": [
|
"test": [
|
||||||
"parallel-lint . --exclude vendor",
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||||
"phpcs -p -s",
|
"phpcs -p -s",
|
||||||
"minus-x check ."
|
"minus-x check ."
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue