File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/experimental-utils/src/ts-eslint Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { RuleTester as ESLintRuleTester } from 'eslint' ;
2
2
import { AST_NODE_TYPES , AST_TOKEN_TYPES } from '../ts-estree' ;
3
3
import { ParserOptions } from './ParserOptions' ;
4
+ import { Linter } from './Linter' ;
4
5
import { RuleCreateFunction , RuleModule } from './Rule' ;
5
6
6
7
interface ValidTestCase < TOptions extends Readonly < unknown [ ] > > {
@@ -121,7 +122,7 @@ interface RunTests<
121
122
readonly valid : readonly ( ValidTestCase < TOptions > | string ) [ ] ;
122
123
readonly invalid : readonly InvalidTestCase < TMessageIds , TOptions > [ ] ;
123
124
}
124
- interface RuleTesterConfig {
125
+ interface RuleTesterConfig extends Linter . Config {
125
126
// should be require.resolve(parserPackageName)
126
127
readonly parser : string ;
127
128
readonly parserOptions ?: Readonly < ParserOptions > ;
You can’t perform that action at this time.
0 commit comments