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`.
11 lines
103 B
Plaintext
11 lines
103 B
Plaintext
{
|
|
"extends": [
|
|
../.eslintrc
|
|
],
|
|
|
|
"rules": {
|
|
// ECMAScript 6
|
|
"no-var": "error",
|
|
},
|
|
}
|