9416b14e8b
This simplifies/consolidates the ESLint configuration slightly in the `src/` folder, and prevents the addition of any new files where `var` is being used.[1] Hence we no longer need to manually add `/* eslint no-var: error */` in files, which is easy to forget, and can instead disable the rule in the `src/core/` files where `var` is still in use. --- [1] Obviously the `no-var` rule can, in the same way as every other rule, be disabled on a case-by-case basis where actually necessary.
14 lines
132 B
Plaintext
14 lines
132 B
Plaintext
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017,
|
|
},
|
|
|
|
"extends": [
|
|
"../.eslintrc"
|
|
],
|
|
|
|
"env": {
|
|
"es2017": true,
|
|
},
|
|
}
|