diff --git a/Gruntfile.js b/Gruntfile.js index 24faaef1..9d52c843 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,11 +9,7 @@ module.exports = function ( grunt ) { grunt.initConfig( { eslint: { - all: [ - '**/*.js', - '!node_modules/**', - '!vendor/**' - ] + all: '.' }, stylelint: { options: { @@ -21,7 +17,6 @@ module.exports = function ( grunt ) { }, all: [ '**/*.{css,less}', - '!node_modules/**', '!vendor/**' ] }, diff --git a/package.json b/package.json index 3dcc2ca6..07d3fafb 100644 --- a/package.json +++ b/package.json @@ -12,5 +12,8 @@ "grunt-stylelint": "0.9.0", "stylelint": "8.2.0", "stylelint-config-wikimedia": "0.4.2" - } + }, + "eslintIgnore": [ + "vendor/**" + ] }