Add recent pattern for ESLinting to repo
Use of all: '.' in Gruntfile.js for eslint config and eslintIgnore in package.json to ignore linting the "vendor/" etc directory. Bug: T203648 Change-Id: I65756ab3b6f413021cedeb22c7933c6cffa2cb78
This commit is contained in:
@@ -10,13 +10,7 @@ module.exports = function ( grunt ) {
|
||||
|
||||
grunt.initConfig( {
|
||||
eslint: {
|
||||
all: [
|
||||
'**/*.js',
|
||||
'!lib/**',
|
||||
'!node_modules/**',
|
||||
'!vendor/**',
|
||||
'!resources/js/ext.uls.webfonts.repository.js'
|
||||
]
|
||||
all: '.'
|
||||
},
|
||||
stylelint: {
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user