Skip to content

Commit da993a5

Browse files
authored
test: only run linting when using ESLint v8 (#1593)
1 parent c581996 commit da993a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jest.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ const config = {
3737
],
3838
} satisfies Config;
3939

40-
if (semver.major(eslintVersion) >= 9) {
40+
if (semver.major(eslintVersion) !== 8) {
41+
// our eslint config only works for v8
4142
config.projects = config.projects.filter(
4243
({ displayName }) => displayName !== 'lint',
4344
);

0 commit comments

Comments
 (0)