From fddee0607fbad7da4650422d0f5b7e79216d528a Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Tue, 12 Sep 2023 23:53:39 -0400 Subject: [PATCH] Add eslint rule to prevent unused private class members --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 44fd0a3046..b0ef3ebb86 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -63,6 +63,7 @@ module.exports = { 'no-trailing-spaces': ['error'], 'no-unused-expressions': ['off'], '@typescript-eslint/no-unused-expressions': ['error', { 'allowShortCircuit': true, 'allowTernary': true, 'allowTaggedTemplates': true }], + 'no-unused-private-class-members': ['error'], 'no-useless-constructor': ['off'], '@typescript-eslint/no-useless-constructor': ['error'], 'no-var': ['error'],