mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Enable the ESLint no-unused-private-class-members
rule
Given that we're now using private `class` fields/methods, enabling this new ESLint rule should help avoid adding dead code. Please find additional details about the ESLint rule at https://eslint.org/docs/rules/no-unused-private-class-members
This commit is contained in:
parent
a8abdfb3bb
commit
48896adc27
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@
|
|||
"no-unsafe-finally": "error",
|
||||
"no-unsafe-negation": "error",
|
||||
"no-unsafe-optional-chaining": ["error", { "disallowArithmeticOperators": true }],
|
||||
"no-unused-private-class-members": "error",
|
||||
"use-isnan": ["error", { "enforceForIndexOf": true, }],
|
||||
"valid-typeof": ["error", { "requireStringLiterals": true, }],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue