mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-12 14:25:06 +00:00
30 lines
438 B
JSON
30 lines
438 B
JSON
|
{
|
||
|
"root": true,
|
||
|
"extends": [
|
||
|
"wikimedia/client",
|
||
|
"wikimedia/jquery",
|
||
|
"wikimedia/mediawiki"
|
||
|
],
|
||
|
"parserOptions": {
|
||
|
"sourceType": "commonjs"
|
||
|
},
|
||
|
"globals": {
|
||
|
"CodeMirror": "readonly"
|
||
|
},
|
||
|
"rules": {
|
||
|
"max-len": "off",
|
||
|
"es-x/no-object-assign": "warn"
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": [
|
||
|
"addon/*.js"
|
||
|
],
|
||
|
"rules": {
|
||
|
"computed-property-spacing": [ "error", "never" ],
|
||
|
"indent": [ "error", 2 ]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|