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:
|
* Recommended options from:
|
||||||
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
|
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
'use strict';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,9 +15,7 @@ module.exports = function ( grunt ) {
|
||||||
fix: grunt.option( 'fix' )
|
fix: grunt.option( 'fix' )
|
||||||
},
|
},
|
||||||
all: [
|
all: [
|
||||||
'**/*.{js,json}',
|
'.'
|
||||||
'!{tests/externals,docs}/**',
|
|
||||||
'!{vendor,node_modules}/**'
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// Lint – Styling
|
// Lint – Styling
|
||||||
|
|
Loading…
Reference in a new issue