File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { TSESTree } from '@typescript-eslint/types' ;
2- import { RuleContext } from '@typescript-eslint/utils/ts-eslint ' ;
2+ import { TSESLint } from '@typescript-eslint/utils' ;
33
44export type AnyFunctionBody = TSESTree . BlockStatement | TSESTree . Expression ;
55export type AnyFunction = TSESTree . FunctionDeclaration | TSESTree . FunctionExpression | TSESTree . ArrowFunctionExpression ;
@@ -13,7 +13,7 @@ export type Options = [ActualOptions];
1313export interface Scope {
1414 isTsx : boolean ;
1515 options : ActualOptions ;
16- sourceCode : RuleContext < MessageId , Options > [ 'sourceCode' ] ;
16+ sourceCode : TSESLint . RuleContext < MessageId , Options > [ 'sourceCode' ] ;
1717}
1818
1919export interface ActualOptions {
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ const plugin: TSESLint.FlatConfig.Plugin = {
1313 } ,
1414} ;
1515
16- export default plugin ;
16+ export const { meta , rules } = plugin ;
You can’t perform that action at this time.
0 commit comments