Merge "Add recent pattern for ESLinting in repo"

This commit is contained in:
jenkins-bot 2018-09-06 05:43:56 +00:00 committed by Gerrit Code Review
commit d9d37c0cc6
2 changed files with 5 additions and 6 deletions

View file

@ -9,11 +9,7 @@ module.exports = function ( grunt ) {
all: 'i18n/'
},
eslint: {
all: [
'**/*.js',
'!node_modules/**',
'!vendor/**'
]
all: '.'
},
jsonlint: {
all: [

View file

@ -9,5 +9,8 @@
"grunt-banana-checker": "0.6.0",
"grunt-eslint": "20.0.0",
"grunt-jsonlint": "1.1.0"
}
},
"eslintIgnore": [
"vendor/**"
]
}