pdf.js/external/.eslintrc
Jonas Jenwald 7560f12a17 Enable the object-shorthand ESLint rule
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.
2017-04-30 11:13:34 +02:00

15 lines
147 B
Plaintext

{
"extends": [
../.eslintrc
],
"env": {
"node": true,
"shelljs": true,
},
"rules": {
"object-shorthand": "off",
},
}