From 1ab1bd5df40c418cb5c2f746e88d51a9240d7a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Wed, 3 Dec 2025 01:33:33 +0900 Subject: [PATCH 1/5] chore: update dependency @eslint/core to v1 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6662a2d..10e8be3 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": ">=10.0.0-alpha.0 <10.0.0 || ^10.0.1", "eslint-config-eslint": "^13.0.0", "eslint-plugin-eslint-plugin": "^6.3.2", "globals": "^16.5.0", From 64587230280a5cb49da59339dc8131c766bbaada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Wed, 3 Dec 2025 01:36:28 +0900 Subject: [PATCH 2/5] wip --- .npmrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmrc b/.npmrc index c1ca392..e5f273d 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ package-lock = false +legacy-peer-deps = true # TODO: Remove this line after ESLint v10 is released. \ No newline at end of file From ad826d27e1146cdc7b240849b681f7e26a1428bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Wed, 3 Dec 2025 01:41:05 +0900 Subject: [PATCH 3/5] wip --- .npmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index e5f273d..b2fb98e 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ package-lock = false -legacy-peer-deps = true # TODO: Remove this line after ESLint v10 is released. \ No newline at end of file +legacy-peer-deps = true # TODO: Remove this line after ESLint v10 is released. From 89ae3548240af2f4ecc8cfa93f88f372a34b2b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Wed, 3 Dec 2025 01:42:58 +0900 Subject: [PATCH 4/5] wip: remove `errors` in `valid` test case --- tests/rules/sort-keys.test.js | 5 ----- 1 file changed, 5 deletions(-) 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 From d7d3b71191d52e893921e8904dda9d63e5fa93f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Sun, 7 Dec 2025 21:09:00 +0900 Subject: [PATCH 5/5] wip: replace `ESLint.Plugin` with `Plugin` --- tests/types/types.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;