7560f12a17
Please see http://eslint.org/docs/rules/object-shorthand.
Unfortunately, based on commit 9276d1dcd9
, it seems that we still need to maintain compatibility with old Node.js versions, hence certain files/directories that are executed in Node.js are currently exempt from this rule.
Furthermore, since the files specific to the Chromium extension are not run through Babel, the `/extensions/chromium/` directory is also exempt from this rule.
14 lines
148 B
Plaintext
14 lines
148 B
Plaintext
{
|
|
"extends": [
|
|
../../.eslintrc
|
|
],
|
|
|
|
"parserOptions": {
|
|
"sourceType": "script"
|
|
},
|
|
|
|
"rules": {
|
|
"object-shorthand": "off",
|
|
},
|
|
}
|