Move information from .eslintignore into Gruntfile.js

Use grunt also to filter for .js file extension instead of providing all
files to eslint and filter there

Bug: T179195
Change-Id: I3cda3ab51ae246de48e63d8ef9f4080669c93068
isekai
Umherirrender 7 years ago
parent 39fb9a8be2
commit e22eef0047

@ -1,2 +0,0 @@
/vendor
/resources/libraries

@ -7,7 +7,12 @@ module.exports = function ( grunt ) {
grunt.initConfig( {
eslint: {
all: '.'
all: [
'**/*.js',
'!resources/libraries/**',
'!node_modules/**',
'!vendor/**'
]
},
banana: {
all: 'i18n/'

Loading…
Cancel
Save