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.
15 lines
147 B
Plaintext
15 lines
147 B
Plaintext
{
|
|
"extends": [
|
|
../.eslintrc
|
|
],
|
|
|
|
"env": {
|
|
"node": true,
|
|
"shelljs": true,
|
|
},
|
|
|
|
"rules": {
|
|
"object-shorthand": "off",
|
|
},
|
|
}
|