986c8b56ca
With the updated compatibility for the addon, we can thus remove a few no longer needed exceptions from `extensions/firefox/.eslintrc`.
29 lines
710 B
Plaintext
29 lines
710 B
Plaintext
{
|
|
// Note: The root .eslintrc file will define the base rules,
|
|
// but mozilla/recommended will override them for the rules it sets. Finally,
|
|
// the rules in this file will take precedence.
|
|
"extends": [
|
|
"plugin:mozilla/recommended",
|
|
],
|
|
|
|
"parserOptions": {
|
|
"sourceType": "script",
|
|
},
|
|
|
|
"plugins": [
|
|
"mozilla"
|
|
],
|
|
|
|
"rules": {
|
|
// Items different from the mozilla/recommended configuration.
|
|
|
|
// Other rules mozilla/recommended hasn't enabled yet.
|
|
"no-shadow": "error",
|
|
"arrow-body-style": ["error", "as-needed"],
|
|
"arrow-parens": ["error", "always"],
|
|
"constructor-super": "error",
|
|
"no-confusing-arrow": "error",
|
|
"no-useless-constructor": "error",
|
|
},
|
|
}
|