mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +00:00
Merge "eslint: Use .eslintignore"
This commit is contained in:
commit
0037984895
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