Skip to content

Commit

Permalink
test: only run linting when using ESLint v8
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed May 21, 2024
1 parent c581996 commit 741776e
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 741776e

Please sign in to comment.