mediawiki-extensions-CodeMi.../resources/.eslintrc.json
Ed Sanders f0fb93d3e1 ESLint: Enforce prefer-const
Change-Id: I7f45137a47dddcd2fc70201f28680edce907b522
2024-06-22 10:26:58 +01:00

29 lines
408 B
JSON

{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"parserOptions": {
"sourceType": "commonjs"
},
"globals": {
"CodeMirror": "readonly"
},
"rules": {
"max-len": "off"
},
"overrides": [
{
"files": [
"addon/edit/*.js"
],
"rules": {
"computed-property-spacing": [ "error", "never" ],
"indent": [ "error", 2 ]
}
}
]
}