Use alphabetic order for eslintrc rules

Change-Id: Ic7afff052c004ba179a8814f79e7722fb66bdbbc
This commit is contained in:
Fomafix 2024-03-24 18:45:54 +00:00
parent 8df385d08f
commit dfa61af611
3 changed files with 9 additions and 9 deletions

View file

@ -12,6 +12,8 @@
"require": "readonly"
},
"rules": {
"jsdoc/no-undefined-types": "off",
"mediawiki/class-doc": "off",
"no-restricted-properties": [
"error",
{
@ -31,17 +33,15 @@
"message": "The method `always` if used with Deferred objects is incompatible with ES6 Promises. Please use `then`."
}
],
"unit-disallowed-list": "off",
"object-property-newline": "error",
"mediawiki/class-doc": "off",
"no-underscore-dangle": "off",
"jsdoc/no-undefined-types": "off",
"no-var": "off"
"no-var": "off",
"object-property-newline": "error",
"unit-disallowed-list": "off"
},
"overrides": [
{
"files": [ ".eslintrc.json" ],
"extends": "wikimedia/server",
"files": [ ".eslintrc.json" ],
"rules": {
"compat/compat": "off"
}

View file

@ -7,8 +7,8 @@
"ecmaVersion": 2018
},
"rules": {
"es-x/no-rest-spread-properties": "off",
"es-x/no-async-functions": "off"
"es-x/no-async-functions": "off",
"es-x/no-rest-spread-properties": "off"
},
"env": {
"es6": true,

View file

@ -5,8 +5,8 @@
"wikimedia/qunit"
],
"rules": {
"no-restricted-properties": "off",
"no-jquery/no-parse-html-literal": "off",
"no-restricted-properties": "off",
"no-var": "off"
}
}