mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Enable the unicorn/no-abusive-eslint-disable
ESLint plugin rule
This rule prevents *accidental* disabling of ESLint completely, be ensuring that inline ESLint disable comments always list the affected rules explicitly. Please see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-abusive-eslint-disable.md for additional information.
This commit is contained in:
parent
e389ed6201
commit
60d2ff5408
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
"mozilla/use-includes-instead-of-indexOf": "error",
|
||||
"no-unsanitized/method": "error",
|
||||
"no-unsanitized/property": "error",
|
||||
"unicorn/no-abusive-eslint-disable": "error",
|
||||
"unicorn/no-array-instanceof": "error",
|
||||
"unicorn/prefer-starts-ends-with": "error",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue