chore: update linter config

This commit is contained in:
alistair3149 2021-01-06 19:28:39 -05:00
parent 0b4ed3d254
commit 664e1aac1d
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
3 changed files with 5 additions and 15 deletions

View file

@ -11,7 +11,10 @@
},
"rules": {
"one-var": "off",
"//": ["off", "ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."],
"//": [
"off",
"ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."
],
"no-implicit-globals": "off"
}
}

View file

@ -2,7 +2,7 @@
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
<arg name="extensions" value="php,php5,inc"/>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/out/*</exclude-pattern>

View file

@ -1,13 +0,0 @@
{
"root": true,
"extends": [
"wikimedia",
"wikimedia/language/es6"
],
"env": {
"browser": true
},
"parserOptions": {
"sourceType": "module"
}
}