pdf.js/src/display/.eslintrc
Jonas Jenwald 2a8983d76b Enable the ESLint no-var rule in the src/display/ folder
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
2020-10-02 16:16:23 +02:00

11 lines
108 B
Plaintext

{
"extends": [
"../../.eslintrc"
],
"rules": {
// ECMAScript 6
"no-var": "error",
},
}