diff --git a/Gruntfile.js b/Gruntfile.js index 3aa3dad9..4d11aeb9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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: { diff --git a/package.json b/package.json index 276964aa..627811fe 100644 --- a/package.json +++ b/package.json @@ -13,5 +13,10 @@ "grunt-svgmin": "5.0.0", "stylelint": "8.2.0", "stylelint-config-wikimedia": "0.4.2" - } + }, + "eslintIgnore": [ + "lib/**", + "resources/js/ext.uls.webfonts.repository.js", + "vendor/**" + ] }