36b683ca55
Without providing useful (custom) error messages for the `no-restricted-globals` rule, see https://eslint.org/docs/rules/no-restricted-globals, it's quite likely that the rule will be incorrectly disabled rather than the required globals being imported as intended. To reduced duplication of the `no-restricted-globals` rule in multiple `.eslintrc` files, it's instead moved to the top-level `.eslintrc` file and disabled as needed on a folder/file basis outside of `/src` and `/web`.
16 lines
216 B
Plaintext
16 lines
216 B
Plaintext
{
|
|
"extends": [
|
|
../.eslintrc
|
|
],
|
|
|
|
"env": {
|
|
"node": true,
|
|
},
|
|
|
|
"rules": {
|
|
"mozilla/use-includes-instead-of-indexOf": "off",
|
|
"object-shorthand": "off",
|
|
"no-restricted-globals": "off",
|
|
},
|
|
}
|