Skip to content

Commit 73e25a0

Browse files
authored
chore: repository maintenance (#398)
* chore: repository maintenance * update * update * update * update * update * fix * fix
1 parent 327aae7 commit 73e25a0

26 files changed

+3535
-2323
lines changed

.github/workflows/NodeCI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
node-version: ${{ matrix.node-version }}
4747
- name: Install Target Packages
4848
run: |+
49-
npm i -D eslint@^8.0.0
49+
npm i -D eslint@^8.0.0 vue-eslint-parser@^9
5050
npx rimraf node_modules
5151
npm install
5252
- name: Test

docs/.vitepress/theme/components/components/EslintPluginEditor.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ import { rules } from "../../../../../lib/utils/rules";
2424
export default {
2525
name: "EslintPluginEditor",
2626
components: { EslintEditor },
27-
model: {
28-
prop: "code",
29-
},
3027
props: {
3128
code: {
3229
type: String,

lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type AST from "vue-eslint-parser/ast";
1+
import type { AST } from "vue-eslint-parser";
22
import type * as postcss from "postcss";
33
import type selectorParser from "postcss-selector-parser";
44
import type { ScopeManager } from "eslint-scope";

package-lock.json

Lines changed: 3492 additions & 2284 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@
5959
"@ota-meshi/eslint-plugin": "^0.17.4",
6060
"@ota-meshi/site-kit-eslint-editor-vue": "^0.2.1",
6161
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
62-
"@types/eslint": "^8.56.10",
62+
"@types/eslint": "^9.6.1",
6363
"@types/estree": "^1.0.5",
6464
"@types/lodash": "^4.17.5",
6565
"@types/mocha": "^10.0.7",
6666
"@types/node": "^22.0.0",
6767
"@types/semver": "^7.5.8",
68-
"@typescript-eslint/eslint-plugin": "^8.0.0",
69-
"@typescript-eslint/parser": "^8.0.0",
68+
"@typescript-eslint/eslint-plugin": "^8.35.1",
69+
"@typescript-eslint/parser": "^8.35.1",
7070
"assert": "^2.1.0",
7171
"cross-env": "^7.0.3",
7272
"eslint": "^9.5.0",
@@ -79,7 +79,7 @@
7979
"eslint-plugin-node-dependencies": "^1.0.0",
8080
"eslint-plugin-prettier": "^5.1.3",
8181
"eslint-plugin-regexp": "^2.6.0",
82-
"eslint-plugin-vue": "^9.26.0",
82+
"eslint-plugin-vue": "^10.3.0",
8383
"eslint-plugin-vue-scoped-css": "^2.8.0",
8484
"eslint-plugin-yml": "^1.14.0",
8585
"events": "^3.3.0",
@@ -96,14 +96,14 @@
9696
"stylelint-stylus": "^1.0.0",
9797
"ts-node": "^10.9.1",
9898
"typescript": "~5.8.0",
99-
"typescript-eslint": "^8.0.0",
100-
"vite-plugin-eslint4b": "^0.4.6",
101-
"vitepress": "^1.0.1",
102-
"vue-eslint-parser": "^9.0.0"
99+
"typescript-eslint": "^8.35.1",
100+
"vite-plugin-eslint4b": "^0.5.1",
101+
"vitepress": "^1.6.3",
102+
"vue-eslint-parser": "^10.2.0"
103103
},
104104
"dependencies": {
105105
"@eslint-community/eslint-utils": "^4.4.0",
106-
"eslint-compat-utils": "^0.6.0",
106+
"eslint-compat-utils": "^0.6.5",
107107
"lodash": "^4.17.21",
108108
"postcss": "^8.4.31",
109109
"postcss-safe-parser": "^6.0.0",

tests/lib/comment-directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { RuleTester, testRuleIdPrefix } from "./test-lib/eslint-compat";
2-
import rule = require("../../lib/rules/no-unused-selector");
2+
import rule from "../../lib/rules/no-unused-selector";
33

44
import * as vueParser from "vue-eslint-parser";
55

tests/lib/configs/recommended.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ describe("`recommended` config", () => {
3737
});
3838
it("`flat/recommended` config should work. ", async () => {
3939
const linter = new ESLint({
40-
// @ts-expect-error -- typing bug
4140
overrideConfigFile: true,
4241
// @ts-expect-error -- typing bug
4342
overrideConfig: [...plugin.configs["flat/recommended"]],
@@ -62,7 +61,6 @@ describe("`recommended` config", () => {
6261
});
6362
it("`flat/recommended` config with *.js should work. ", async () => {
6463
const linter = new ESLint({
65-
// @ts-expect-error -- typing bug
6664
overrideConfigFile: true,
6765
// @ts-expect-error -- typing bug
6866
overrideConfig: [...plugin.configs["flat/recommended"]],

tests/lib/rules-without-vue-eslint-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getLinter } from "eslint-compat-utils/linter";
2-
import plugin = require("../../lib/index");
2+
import plugin from "../../lib/index";
33
// eslint-disable-next-line @typescript-eslint/naming-convention -- Class name
44
const Linter = getLinter();
55

tests/lib/rules/enforce-style-type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { RuleTester } from "../test-lib/eslint-compat";
2-
import rule = require("../../../lib/rules/enforce-style-type");
2+
import rule from "../../../lib/rules/enforce-style-type";
33

44
import * as vueParser from "vue-eslint-parser";
55

tests/lib/rules/no-deprecated-deep-combinator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { RuleTester } from "../test-lib/eslint-compat";
2-
import rule = require("../../../lib/rules/no-deprecated-deep-combinator");
2+
import rule from "../../../lib/rules/no-deprecated-deep-combinator";
33

44
import * as vueParser from "vue-eslint-parser";
55

0 commit comments

Comments
 (0)