mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #13788 from timvandermeij/eslint-rules
Enable the `no-empty-character-class` and `no-template-curly-in-string` linting rules
This commit is contained in:
commit
bcd6dc416a
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,7 @@
|
|||
"no-dupe-keys": "error",
|
||||
"no-duplicate-case": "error",
|
||||
"no-empty": ["error", { "allowEmptyCatch": true, }],
|
||||
"no-empty-character-class": "error",
|
||||
"no-ex-assign": "error",
|
||||
"no-extra-boolean-cast": "error",
|
||||
"no-func-assign": "error",
|
||||
|
@ -72,6 +73,7 @@
|
|||
"no-regex-spaces": "error",
|
||||
"no-setter-return": "error",
|
||||
"no-sparse-arrays": "error",
|
||||
"no-template-curly-in-string": "error",
|
||||
"no-unexpected-multiline": "error",
|
||||
"no-unreachable": "error",
|
||||
"no-unsafe-finally": "error",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue