Skip to content

Commit

Permalink
test: only run linting when using ESLint v8 (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed May 21, 2024
1 parent c581996 commit da993a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const config = {
],
} satisfies Config;

if (semver.major(eslintVersion) >= 9) {
if (semver.major(eslintVersion) !== 8) {
// our eslint config only works for v8
config.projects = config.projects.filter(
({ displayName }) => displayName !== 'lint',
);
Expand Down

0 comments on commit da993a5

Please sign in to comment.