X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=Gruntfile.js;h=707a1fb095b2bd12d6f8e8f194a4d57bbc004ee0;hp=2f5586862f102663df0e643428dc9cb8cf2e8303;hb=2ce92e90a749d8a738b3d1b038d848ce3a647017;hpb=3a106b6a9af8923341ae73e17b1a8cae371c0f05 diff --git a/Gruntfile.js b/Gruntfile.js index 2f5586862f..707a1fb095 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -21,22 +21,22 @@ module.exports = function ( grunt ) { grunt.initConfig( { eslint: { + options: { + reportUnusedDisableDirectives: true + }, all: [ '**/*.js', '!docs/**', '!node_modules/**', '!resources/lib/**', '!resources/src/jquery.tipsy/**', - '!resources/src/jquery/jquery.farbtastic.js', '!resources/src/mediawiki.libs.jpegmeta/**', // Third-party code of PHPUnit coverage report '!tests/coverage/**', '!vendor/**', // Explicitly say "**/*.js" here in case of symlinks '!extensions/**/*.js', - '!skins/**/*.js', - // Skip functions aren't even parseable - '!resources/src/mediawiki.hidpi-skip.js' + '!skins/**/*.js' ] }, jsonlint: {