File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed
packages/plugin-eslint/src/lib Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export function parseRuleId(ruleId: string): { plugin?: string; name: string } {
19
19
}
20
20
21
21
export function isRuleOff ( entry : Linter . RuleEntry < unknown [ ] > ) : boolean {
22
- const level : Linter . RuleLevel = Array . isArray ( entry ) ? entry [ 0 ] : entry ;
22
+ const level = Array . isArray ( entry ) ? entry [ 0 ] : entry ;
23
23
24
24
switch ( level ) {
25
25
case 0 :
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ describe('lint', () => {
96
96
await lint ( config ) ;
97
97
expect ( ESLint ) . toHaveBeenCalledWith < ConstructorParameters < typeof ESLint > > ( {
98
98
overrideConfigFile : '.eslintrc.js' ,
99
- useEslintrc : false ,
100
99
errorOnUnmatchedPattern : false ,
101
100
} ) ;
102
101
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import type { ESLintTarget } from './config';
4
4
export function setupESLint ( eslintrc : ESLintTarget [ 'eslintrc' ] ) {
5
5
return new ESLint ( {
6
6
overrideConfigFile : eslintrc ,
7
- useEslintrc : ! eslintrc ,
8
7
errorOnUnmatchedPattern : false ,
9
8
} ) ;
10
9
}
You can’t perform that action at this time.
0 commit comments