File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ module.exports = new (_a = class ApiEventNaming {
76
76
if ( def . type === experimental_utils_1 . AST_NODE_TYPES . Identifier ) {
77
77
return def ;
78
78
}
79
- else if ( ( def . type === experimental_utils_1 . AST_NODE_TYPES . TSPropertySignature || def . type === experimental_utils_1 . AST_NODE_TYPES . Property ) && def . key . type === experimental_utils_1 . AST_NODE_TYPES . Identifier ) {
79
+ else if ( ( def . type === experimental_utils_1 . AST_NODE_TYPES . TSPropertySignature || def . type === experimental_utils_1 . AST_NODE_TYPES . PropertyDefinition ) && def . key . type === experimental_utils_1 . AST_NODE_TYPES . Identifier ) {
80
80
return def . key ;
81
81
}
82
82
return this . getIdent ( def . parent ) ;
Original file line number Diff line number Diff line change @@ -88,11 +88,10 @@ export = new class ApiEventNaming implements eslint.Rule.RuleModule {
88
88
89
89
if ( def . type === AST_NODE_TYPES . Identifier ) {
90
90
return def ;
91
- } else if ( ( def . type === AST_NODE_TYPES . TSPropertySignature || def . type === AST_NODE_TYPES . Property ) && def . key . type === AST_NODE_TYPES . Identifier ) {
91
+ } else if ( ( def . type === AST_NODE_TYPES . TSPropertySignature || def . type === AST_NODE_TYPES . PropertyDefinition ) && def . key . type === AST_NODE_TYPES . Identifier ) {
92
92
return def . key ;
93
93
}
94
94
95
95
return this . getIdent ( def . parent ) ;
96
96
}
97
97
} ;
98
-
Original file line number Diff line number Diff line change @@ -1608,7 +1608,6 @@ declare module 'vscode' {
1608
1608
/**
1609
1609
* The event listeners can subscribe to.
1610
1610
*/
1611
- // eslint-disable-next-line vscode-dts-event-naming
1612
1611
event: Event<T>;
1613
1612
1614
1613
/**
You can’t perform that action at this time.
0 commit comments