mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-23 22:13:38 +00:00
chore: update linter config
This commit is contained in:
parent
0b4ed3d254
commit
664e1aac1d
|
@ -11,7 +11,10 @@
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"one-var": "off",
|
"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"
|
"no-implicit-globals": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php,php5,inc"/>
|
<arg name="extensions" value="php"/>
|
||||||
<arg name="encoding" value="UTF-8"/>
|
<arg name="encoding" value="UTF-8"/>
|
||||||
<exclude-pattern>*/vendor/*</exclude-pattern>
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
||||||
<exclude-pattern>*/out/*</exclude-pattern>
|
<exclude-pattern>*/out/*</exclude-pattern>
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"root": true,
|
|
||||||
"extends": [
|
|
||||||
"wikimedia",
|
|
||||||
"wikimedia/language/es6"
|
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"browser": true
|
|
||||||
},
|
|
||||||
"parserOptions": {
|
|
||||||
"sourceType": "module"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue