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
@ -82,6 +82,7 @@
|
|||||||
"no-unsafe-finally": "error",
|
"no-unsafe-finally": "error",
|
||||||
"no-unsafe-negation": "error",
|
"no-unsafe-negation": "error",
|
||||||
"no-unsafe-optional-chaining": ["error", { "disallowArithmeticOperators": true }],
|
"no-unsafe-optional-chaining": ["error", { "disallowArithmeticOperators": true }],
|
||||||
|
"no-unused-private-class-members": "error",
|
||||||
"use-isnan": ["error", { "enforceForIndexOf": true, }],
|
"use-isnan": ["error", { "enforceForIndexOf": true, }],
|
||||||
"valid-typeof": ["error", { "requireStringLiterals": true, }],
|
"valid-typeof": ["error", { "requireStringLiterals": true, }],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user