mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-13 18:26:59 +00:00
build: Always exclude vendor and node_modules
Change-Id: Iabe54bad6c3e12c7276364b2af4cee26933eaac9
This commit is contained in:
parent
79dcc0b224
commit
53e19f4085
|
@ -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/**'
|
||||
]
|
||||
}
|
||||
} );
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"minus-x fix ."
|
||||
],
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor",
|
||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
"phpcs -p -s",
|
||||
"minus-x check ."
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue