Skip to content

Commit 492b737

Browse files
authored
fix(parser): Make eslint traverse enum id (#383)
1 parent f29d1c9 commit 492b737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/parser/src/visitor-keys.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const visitorKeys = eslintVisitorKeys.unionWith({
6565
'params',
6666
'returnType',
6767
],
68-
TSEnumDeclaration: ['members'],
68+
TSEnumDeclaration: ['id', 'members'],
6969
TSEnumMember: ['id', 'initializer'],
7070
TSExportAssignment: ['expression'],
7171
TSExportKeyword: [],

0 commit comments

Comments
 (0)