mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-14 11:18:41 +00:00
build: Always exclude vendor and node_modules
Change-Id: Iabe54bad6c3e12c7276364b2af4cee26933eaac9
This commit is contained in:
parent
5a7e92f542
commit
657dcd236e
|
@ -8,7 +8,8 @@ module.exports = function ( grunt ) {
|
|||
eslint: {
|
||||
all: [
|
||||
'**/*.js',
|
||||
'!node_modules/**'
|
||||
'!node_modules/**',
|
||||
'!vendor/**'
|
||||
]
|
||||
},
|
||||
banana: {
|
||||
|
@ -18,7 +19,8 @@ module.exports = function ( grunt ) {
|
|||
all: [
|
||||
'*.json',
|
||||
'**/*.json',
|
||||
'!node_modules/**'
|
||||
'!node_modules/**',
|
||||
'!vendor/**'
|
||||
]
|
||||
}
|
||||
} );
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"scripts": {
|
||||
"fix": "phpcbf",
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor",
|
||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
"phpcs -p -s"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue