File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,17 @@ if (semver.major(eslintVersion) !== 8) {
42
42
config . projects = config . projects . filter (
43
43
( { displayName } ) => displayName !== 'lint' ,
44
44
) ;
45
+ }
45
46
46
- // jest/unbound-method doesn't work when using @typescript-eslint v6
47
- if ( semver . major ( typescriptESLintPluginVersion ) === 6 ) {
48
- for ( const project of config . projects ) {
49
- project . testPathIgnorePatterns . push (
50
- '<rootDir>/src/rules/__tests__/unbound-method.test.ts' ,
51
- ) ;
52
- project . coveragePathIgnorePatterns . push (
53
- '<rootDir>/src/rules/unbound-method.ts' ,
54
- ) ;
55
- }
47
+ // jest/unbound-method seems to only be happy with @typescript-eslint v7 right now...
48
+ if ( semver . major ( typescriptESLintPluginVersion ) !== 7 ) {
49
+ for ( const project of config . projects ) {
50
+ project . testPathIgnorePatterns . push (
51
+ '<rootDir>/src/rules/__tests__/unbound-method.test.ts' ,
52
+ ) ;
53
+ project . coveragePathIgnorePatterns . push (
54
+ '<rootDir>/src/rules/unbound-method.ts' ,
55
+ ) ;
56
56
}
57
57
}
58
58
You can’t perform that action at this time.
0 commit comments