Previously this rule has been enabled in the `web/` folder, and in select files in the `src/` sub-folders. Note that a number of the files in the `src/display/` folder were already enforcing the `no-var` rule, and thanks to Prettier the necessary re-writing will be (mostly) handled automatically. Please find additional details about the ESLint rule at https://eslint.org/docs/rules/no-var
11 lines
108 B
Plaintext
11 lines
108 B
Plaintext
{
|
|
"extends": [
|
|
"../../.eslintrc"
|
|
],
|
|
|
|
"rules": {
|
|
// ECMAScript 6
|
|
"no-var": "error",
|
|
},
|
|
}
|