diff --git a/package.json b/package.json index da29b8d..5cfb9d3 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@eslint/core": "^0.17.0", + "@eslint/core": "^1.0.0", "@eslint/plugin-kit": "^0.5.0", "@humanwhocodes/momoa": "^3.3.10", "natural-compare": "^1.4.0" @@ -91,7 +91,7 @@ "devDependencies": { "c8": "^10.1.3", "dedent": "^1.5.3", - "eslint": "^9.36.0", + "eslint": "^9.39.2", "eslint-config-eslint": "^13.0.0", "eslint-plugin-eslint-plugin": "^6.3.2", "globals": "^16.5.0", diff --git a/tests/rules/sort-keys.test.js b/tests/rules/sort-keys.test.js index 158d785..4a31e56 100644 --- a/tests/rules/sort-keys.test.js +++ b/tests/rules/sort-keys.test.js @@ -83,11 +83,6 @@ ruleTester.run("sort-keys", rule, { `, language: "json/json5", options: [], - errors: [ - { - messageId: "sortKeys", - }, - ], }, // asc diff --git a/tests/types/types.test.ts b/tests/types/types.test.ts index 0bc3c42..60cec9b 100644 --- a/tests/types/types.test.ts +++ b/tests/types/types.test.ts @@ -1,5 +1,4 @@ import json, { JSONSourceCode } from "@eslint/json"; -import type { ESLint } from "eslint"; import type { JSONSyntaxElement, JSONRuleDefinition, @@ -21,9 +20,9 @@ import type { StringNode, LocationRange, } from "@humanwhocodes/momoa"; -import type { SourceLocation, SourceRange } from "@eslint/core"; +import type { Plugin, SourceLocation, SourceRange } from "@eslint/core"; -json satisfies ESLint.Plugin; +json satisfies Plugin; json.meta.name satisfies string; json.meta.version satisfies string;