Skip to content

Commit c94ea92

Browse files
authored
fix: update @eslint/core to v1.0.0 and adjust tests (#337)
* chore: update `@eslint/core`, add `legacy-peer-deps`, and use ESLint v10 * wip: replace `ESLint.plugin` with `Plugin` * wip: clarify comment and change version range for `eslint` * wip * wip: use `@eslint/core@1.0.1`
1 parent 50ff5c1 commit c94ea92

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@
8484
],
8585
"license": "Apache-2.0",
8686
"dependencies": {
87-
"@eslint/core": "^0.17.0",
87+
"@eslint/core": "^1.0.1",
8888
"@eslint/css-tree": "^3.6.8",
8989
"@eslint/plugin-kit": "^0.5.1"
9090
},
9191
"devDependencies": {
9292
"@eslint/json": "^0.14.0",
9393
"c8": "^10.1.3",
9494
"dedent": "^1.5.3",
95-
"eslint": "^9.36.0",
95+
"eslint": "^9.39.2",
9696
"eslint-config-eslint": "^13.0.0",
9797
"eslint-plugin-eslint-plugin": "^6.3.2",
9898
"globals": "^17.0.0",

tests/types/types.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import css, { CSSSourceCode } from "@eslint/css";
2-
import type { ESLint } from "eslint";
3-
import type { SourceLocation, SourceRange } from "@eslint/core";
2+
import type { Plugin, SourceLocation, SourceRange } from "@eslint/core";
43
import type {
54
AnPlusB,
65
AtrulePlain,
@@ -55,7 +54,7 @@ import type {
5554
} from "@eslint/css-tree";
5655
import type { CSSRuleDefinition, CSSRuleVisitor } from "@eslint/css/types";
5756

58-
css satisfies ESLint.Plugin;
57+
css satisfies Plugin;
5958
css.meta.name satisfies string;
6059
css.meta.version satisfies string;
6160

0 commit comments

Comments
 (0)