Skip to content

Commit cb6782a

Browse files
authored
Remove outdated node type check (#2137)
1 parent ab61540 commit cb6782a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

rules/no-static-only-class.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ function isStaticMember(node) {
4444
|| isReadonly
4545
|| accessibility !== undefined
4646
|| (Array.isArray(decorators) && decorators.length > 0)
47-
// TODO: Remove this when we drop support for `@typescript-eslint/parser` v4
48-
|| key.type === 'TSPrivateIdentifier'
4947
) {
5048
return false;
5149
}

0 commit comments

Comments
 (0)