build: Always exclude vendor and node_modules
Change-Id: Ibe9948f9505f36f34041b69be499cc0938735961
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
node_modules
|
node_modules
|
||||||
|
vendor
|
||||||
|
|||||||
@@ -18,7 +18,8 @@ module.exports = function ( grunt ) {
|
|||||||
jsonlint: {
|
jsonlint: {
|
||||||
all: [
|
all: [
|
||||||
'**/*.json',
|
'**/*.json',
|
||||||
'!node_modules/**'
|
'!node_modules/**',
|
||||||
|
'!vendor/**'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|||||||
@@ -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 ."
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user