Merge "eslint: Use .eslintignore"

This commit is contained in:
jenkins-bot 2022-05-11 11:26:36 +00:00 committed by Gerrit Code Review
commit 0037984895
3 changed files with 12 additions and 3 deletions

8
.eslintignore Normal file
View file

@ -0,0 +1,8 @@
# Build
/vendor/
/docs/
# Language files written automatically by TranslateWiki
/**/i18n/**/*.json
!/**/i18n/**/en.json
!/**/i18n/**/qqq.json

View file

@ -4,6 +4,9 @@
* Recommended options from:
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
*/
'use strict';
module.exports = {
plugins: [
{

View file

@ -15,9 +15,7 @@ module.exports = function ( grunt ) {
fix: grunt.option( 'fix' )
},
all: [
'**/*.{js,json}',
'!{tests/externals,docs}/**',
'!{vendor,node_modules}/**'
'.'
]
},
// Lint Styling