66c8a0897a
Based on the following compatibility information, there can't be any compelling reason to not enable this ESLint rule now: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#browser_compatibility See also https://eslint.org/docs/rules/object-shorthand
23 lines
255 B
Plaintext
23 lines
255 B
Plaintext
{
|
|
"extends": [
|
|
../../.eslintrc
|
|
],
|
|
|
|
"env": {
|
|
"webextensions": true
|
|
},
|
|
|
|
"plugins": [
|
|
"mozilla"
|
|
],
|
|
|
|
"parserOptions": {
|
|
"sourceType": "script"
|
|
},
|
|
|
|
"rules": {
|
|
"mozilla/import-globals": "error",
|
|
"no-var": "off",
|
|
},
|
|
}
|