mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
eslint: Use .eslintignore
Change-Id: I4db921d6d22f367a4c5647080e791ca5c9e6b3ce
This commit is contained in:
parent
d99e647d2a
commit
46a3b6d5de
8
.eslintignore
Normal file
8
.eslintignore
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Build
|
||||
/vendor/
|
||||
/docs/
|
||||
|
||||
# Language files written automatically by TranslateWiki
|
||||
/**/i18n/**/*.json
|
||||
!/**/i18n/**/en.json
|
||||
!/**/i18n/**/qqq.json
|
|
@ -4,6 +4,9 @@
|
|||
* Recommended options from:
|
||||
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
{
|
||||
|
|
|
@ -15,9 +15,7 @@ module.exports = function ( grunt ) {
|
|||
fix: grunt.option( 'fix' )
|
||||
},
|
||||
all: [
|
||||
'**/*.{js,json}',
|
||||
'!{tests/externals,docs}/**',
|
||||
'!{vendor,node_modules}/**'
|
||||
'.'
|
||||
]
|
||||
},
|
||||
// Lint – Styling
|
||||
|
|
Loading…
Reference in a new issue