9e262ae7fa
Please find additional details about the ESLint rule at https://eslint.org/docs/rules/prefer-const With the recent introduction of Prettier this sort of mass enabling of ESLint rules becomes a lot easier, since the code will be automatically reformatted as necessary to account for e.g. changed line lengths. Note that this patch is generated automatically, by using the ESLint `--fix` argument, and will thus require some additional clean-up (which is done separately).
14 lines
188 B
Plaintext
14 lines
188 B
Plaintext
{
|
|
"extends": [
|
|
"../.eslintrc"
|
|
],
|
|
|
|
"rules": {
|
|
// Plugins
|
|
"import/no-unresolved": ["error", { "ignore": ["pdfjs-lib"]}],
|
|
|
|
// ECMAScript 6
|
|
"no-var": "error",
|
|
},
|
|
}
|