Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 30, 2024
1 parent ab56e64 commit 12431d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/eslint-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe("Integration with eslint-plugin-yml", () => {
it(dir, async () => {
const engine = new LegacyESLint({
cwd: path.join(TEST_ROOT, dir),
// @ts-expect-error -- ignore
extensions: [".js", ".yml"],
plugins: { "eslint-plugin-yml": plugin as any },
});
Expand All @@ -60,7 +61,8 @@ describe("Integration with eslint-plugin-yml", () => {
errors: 0,
},
},
...(semver.satisfies(process.version, ">=18")
...(semver.satisfies(process.version, ">=18") &&
semver.satisfies(ESLint.version, ">=9")
? [
{
dir: "with-json",
Expand Down

0 comments on commit 12431d9

Please sign in to comment.