Simplyfied lint file selection

Change-Id: I25f624db06d4c7f2cd4260c37cc7c1d11162b795
This commit is contained in:
WMDE-Fisch 2017-06-29 15:32:05 +02:00
parent 8bea89dbdd
commit 890737a621

View file

@ -10,23 +10,24 @@ module.exports = function ( grunt ) {
grunt.initConfig( {
eslint: {
all: [
'*.js',
'tests/**/*.js',
'modules/**/*.js'
'**/*.js',
'!node_modules/**',
'!vendor/**'
]
},
stylelint: {
all: [
'modules/**/*.css',
'!node_modules/**'
'**/*.css',
'!node_modules/**',
'!vendor/**'
]
},
banana: conf.MessagesDirs,
jsonlint: {
all: [
'*.json',
'**/*.json',
'!node_modules/**'
'!node_modules/**',
'!vendor/**'
]
}
} );