diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 000000000..e3a484caf --- /dev/null +++ b/.eslintignore @@ -0,0 +1,8 @@ +# Build +/vendor/ +/docs/ + +# Language files written automatically by TranslateWiki +/**/i18n/**/*.json +!/**/i18n/**/en.json +!/**/i18n/**/qqq.json diff --git a/.svgo.config.js b/.svgo.config.js index bf3c7218a..9b21d28a8 100644 --- a/.svgo.config.js +++ b/.svgo.config.js @@ -4,6 +4,9 @@ * Recommended options from: * https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration */ + +'use strict'; + module.exports = { plugins: [ { diff --git a/Gruntfile.js b/Gruntfile.js index 6557c6fbf..70b65aded 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -15,9 +15,7 @@ module.exports = function ( grunt ) { fix: grunt.option( 'fix' ) }, all: [ - '**/*.{js,json}', - '!{tests/externals,docs}/**', - '!{vendor,node_modules}/**' + '.' ] }, // Lint – Styling