ba079453bf
The `debugger`-statement would only, potentially, make sense during development and we thus want to prevent it from being accidentally included when landing code. The `alert`, `confirm`, and `prompt` functions should generally be avoided, with the few intended cases manually allowed. Please find additional details about the ESLint rules at: - https://eslint.org/docs/rules/no-debugger - https://eslint.org/docs/rules/no-alert
26 lines
339 B
Plaintext
26 lines
339 B
Plaintext
{
|
|
"extends": [
|
|
"../.eslintrc"
|
|
],
|
|
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
},
|
|
|
|
"env": {
|
|
"es6": false,
|
|
},
|
|
|
|
"globals": {
|
|
"pdfjsImageDecoders": false,
|
|
"pdfjsLib": false,
|
|
"pdfjsViewer": false,
|
|
"Uint8Array": false,
|
|
},
|
|
|
|
"rules": {
|
|
"no-alert": "off",
|
|
"object-shorthand": ["error", "never"]
|
|
}
|
|
}
|