mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
build: Move eslint file list to .eslintignore
Change-Id: Ib7eebf181d3324936bd355aeea540822093d2849
This commit is contained in:
parent
b7fdecb817
commit
f296c6fdd9
9
.eslintignore
Normal file
9
.eslintignore
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Upstream code
|
||||
/modules/lib/
|
||||
|
||||
# Build
|
||||
/vendor/
|
||||
|
||||
# Language files written automatically by TranslateWiki
|
||||
/**/i18n/**/*.json
|
||||
!/**/i18n/**/{en,qqq}.json
|
|
@ -12,13 +12,7 @@ module.exports = function ( grunt ) {
|
|||
cache: true,
|
||||
fix: grunt.option( 'fix' )
|
||||
},
|
||||
all: [
|
||||
'*.{js,json}',
|
||||
'modules/**/*.{js,json}',
|
||||
'tests/**/*.{js,json}',
|
||||
'i18n/**/{en,qqq}.json',
|
||||
'!modules/lib/**'
|
||||
]
|
||||
all: '.'
|
||||
},
|
||||
stylelint: {
|
||||
all: [
|
||||
|
|
Loading…
Reference in a new issue