diff --git a/eslint.config.js b/eslint.config.js index 2d03942..23989a4 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,6 +1,7 @@ +import { defineConfig } from 'eslint/config' import * as config from '@lvce-editor/eslint-config' -export default [ +export default defineConfig([ ...config.default, ...config.recommendedVirtualDom, ...config.recommendedRegex, @@ -36,4 +37,4 @@ export default [ 'e2e/prefer-filesystem-set-files': 'off', }, }, -] +]) diff --git a/package-lock.json b/package-lock.json index ab8ebfe..66adccf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "packages/*" ], "devDependencies": { - "@lvce-editor/eslint-config": "^17.6.0", + "@lvce-editor/eslint-config": "^18.0.0", "eslint": "^10.8.0", "knip": "^6.29.0", "prettier": "^3.9.5", @@ -1962,35 +1962,6 @@ "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@eslint/css": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@eslint/css/-/css-1.4.0.tgz", - "integrity": "sha512-OnRNKgnbX+tufPuZc2kOJS+v1iIARvfJHRNEAVwN77DBpojl+rGjEP8NKTL6pEZ7BR+HtwIuSSdrymEFlANGxg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@eslint/core": "^1.2.1", - "@eslint/css-tree": "^4.0.4", - "@eslint/plugin-kit": "^0.7.2" - }, - "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" - } - }, - "node_modules/@eslint/css-tree": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.0.4.tgz", - "integrity": "sha512-nxMparyhqVWQvadx9x8dIfubfIPOE+X2b2waua8fzdnM9vdp9rgVtwEZlG0TmCwEUz/d/f40fzvO/eqBwdxz0A==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdn-data": "2.28.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" - } - }, "node_modules/@eslint/js": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", @@ -2967,9 +2938,9 @@ } }, "node_modules/@lvce-editor/eslint-config": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-config/-/eslint-config-17.6.0.tgz", - "integrity": "sha512-RsoXrwtogesQApVrpbZ7utR6qGHEetFFxJJu7CCrOXgve5sl6glWS5XRC/rAVUNgmmMRJVpj9ajuE0FPzzK92Q==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-config/-/eslint-config-18.0.0.tgz", + "integrity": "sha512-Q1GuQAuyRga4uuvLeucGZkV68QnDfFzNbqJ4F2q83iN1wWphnSsCn0Snwg7Ky+FmZ89bIh218cVdia63kMZhvQ==", "dev": true, "license": "MIT", "workspaces": [ @@ -2978,19 +2949,19 @@ "dependencies": { "@cspell/eslint-plugin": "10.0.1", "@e18e/eslint-plugin": "^0.5.1", - "@eslint/css": "1.4.0", "@eslint/js": "10.0.1", "@eslint/json": "2.0.1", "@eslint/markdown": "8.0.3", - "@lvce-editor/eslint-plugin-devcontainer": "17.6.0", - "@lvce-editor/eslint-plugin-e2e": "17.6.0", - "@lvce-editor/eslint-plugin-extension-json": "17.6.0", - "@lvce-editor/eslint-plugin-github-actions": "17.6.0", - "@lvce-editor/eslint-plugin-nvmrc": "17.6.0", - "@lvce-editor/eslint-plugin-regex": "17.6.0", - "@lvce-editor/eslint-plugin-rpc": "17.6.0", - "@lvce-editor/eslint-plugin-tsconfig": "17.6.0", - "@lvce-editor/eslint-plugin-virtual-dom": "17.6.0", + "@lvce-editor/eslint-plugin-devcontainer": "18.0.0", + "@lvce-editor/eslint-plugin-e2e": "18.0.0", + "@lvce-editor/eslint-plugin-eslint-config": "18.0.0", + "@lvce-editor/eslint-plugin-extension-json": "18.0.0", + "@lvce-editor/eslint-plugin-github-actions": "18.0.0", + "@lvce-editor/eslint-plugin-nvmrc": "18.0.0", + "@lvce-editor/eslint-plugin-regex": "18.0.0", + "@lvce-editor/eslint-plugin-rpc": "18.0.0", + "@lvce-editor/eslint-plugin-tsconfig": "18.0.0", + "@lvce-editor/eslint-plugin-virtual-dom": "18.0.0", "eslint-plugin-jest": "29.15.4", "eslint-plugin-n": "18.2.1", "eslint-plugin-package-json": "1.5.0", @@ -3005,9 +2976,9 @@ } }, "node_modules/@lvce-editor/eslint-plugin-devcontainer": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-devcontainer/-/eslint-plugin-devcontainer-17.6.0.tgz", - "integrity": "sha512-AmxCDywiOQAjq1HMnCLvVnxYuPwxrgopQ1o0/9VS8y2msNUGQ3/Mi1Mk+JJx+vE7wrCw83xZYbQmtBrdx40Ssg==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-devcontainer/-/eslint-plugin-devcontainer-18.0.0.tgz", + "integrity": "sha512-NjgwH2NKwU3MFfsaMkf/eeOKlYdQMqhgyJiRvslhPcZL8lyzgVP5P88AE7pEXr/ZnamzEQOEtrtzH28Z1KBPjA==", "dev": true, "license": "MIT", "dependencies": { @@ -3015,16 +2986,23 @@ } }, "node_modules/@lvce-editor/eslint-plugin-e2e": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-e2e/-/eslint-plugin-e2e-17.6.0.tgz", - "integrity": "sha512-Xxd7YBrU5TxlpUhc8YMO/IaEeCcLVKNUHMu6O+dvHHr5hF1orxSCfobTHchObDw+uPrcZWYFEk8o+2R1FJUEKQ==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-e2e/-/eslint-plugin-e2e-18.0.0.tgz", + "integrity": "sha512-W5SvLvHQVWR5aV+QJPTT/QRPbBHEoFyYY8zbAeaxwP3TpHmhdrJTHY0Ser8ZAKC8VzxhvpWOaVokgJWGMH6dmA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@lvce-editor/eslint-plugin-eslint-config": { + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-eslint-config/-/eslint-plugin-eslint-config-18.0.0.tgz", + "integrity": "sha512-zZUDZdU8svl+cZ391YprAKNYULR/4nvtnJsDbi2RWEwhvixyXZLWEmakguFpav1g0xD+KfR95O+qddwtik3yow==", "dev": true, "license": "MIT" }, "node_modules/@lvce-editor/eslint-plugin-extension-json": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-extension-json/-/eslint-plugin-extension-json-17.6.0.tgz", - "integrity": "sha512-tD/whQxE59mN2q3so3xFmvasqQteYCZX3fmbVuGzjQy74P6kFtI6ZWgkP0x3cHyP3JtB0e9Kin0dc1bPk1a9lg==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-extension-json/-/eslint-plugin-extension-json-18.0.0.tgz", + "integrity": "sha512-FWK97+EyJdgaocSo5eRbMLobOO0IsEYD7krxZdpP+VUHzkXKRg50dnDOThWdAVTBba4fq/ld3kURgsymuIfQDg==", "dev": true, "license": "MIT", "dependencies": { @@ -3032,9 +3010,9 @@ } }, "node_modules/@lvce-editor/eslint-plugin-github-actions": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-github-actions/-/eslint-plugin-github-actions-17.6.0.tgz", - "integrity": "sha512-GAoDHossq4mUrznh9BrAuAONPQMZyN9MND/+eXdZpnRLrn7Ng8KSJKl0Vs8c4a+peJ9uIDSae71lp5Q5t7251w==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-github-actions/-/eslint-plugin-github-actions-18.0.0.tgz", + "integrity": "sha512-5lorIivbeHoc/iAYfCY6Y3XFJ0jNc7zsqxQroAInQUlhTIeK8BNCjnkQIv4J1UiUkR0peGjddqmKmLYiVTPuKw==", "dev": true, "license": "MIT", "dependencies": { @@ -3043,9 +3021,9 @@ } }, "node_modules/@lvce-editor/eslint-plugin-nvmrc": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-nvmrc/-/eslint-plugin-nvmrc-17.6.0.tgz", - "integrity": "sha512-gTSF7iBiCcePmQegfaKAwHE5DA5LBc+yFOOKqA9bWQzKXf+9FdBZ2O6HikW1ms+lpbtG+SIYST5SBu710I1OrA==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-nvmrc/-/eslint-plugin-nvmrc-18.0.0.tgz", + "integrity": "sha512-ATg67BM6gcOt8f2AvabsKKh8NzZezN+lM19ZAoZUuVGClciVqDVibAjbvmlLnTy4vxWq8uyTDcTvAuS/A0PKOg==", "dev": true, "license": "MIT", "dependencies": { @@ -3053,23 +3031,23 @@ } }, "node_modules/@lvce-editor/eslint-plugin-regex": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-regex/-/eslint-plugin-regex-17.6.0.tgz", - "integrity": "sha512-l7lsqZtQpuabIaw3FEhYCfb8dDwZ0BMCx5jj9ZG03ST5KceOL5WB2DGXGcflRvQKbyHPqngQH88r/bAMvbR2+Q==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-regex/-/eslint-plugin-regex-18.0.0.tgz", + "integrity": "sha512-cuzNaGpak6XNsZSmJCLldougHiyjwGSZEEqxx3iCxrfW1/b1RCpaIuUBQGIdmBEF09Ql8QN3uHcnvaG1pl1LAw==", "dev": true, "license": "MIT" }, "node_modules/@lvce-editor/eslint-plugin-rpc": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-rpc/-/eslint-plugin-rpc-17.6.0.tgz", - "integrity": "sha512-Y+ny8qJUBU2y75JCgxG6Rd+WZ9G1M6+bu7tRGgRSDLxLrkfkk1mIAT3i8XnT+qs9/E6+S4+AiGR3ulPU1OsKOg==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-rpc/-/eslint-plugin-rpc-18.0.0.tgz", + "integrity": "sha512-c5SmTTzfKxL00a+CC5/Bz1pi1DZwXGVj2hOZszs70jVxKissYGaJXtlcuqC1LJXqzrUBJmcqe/cmlFlKIJhphg==", "dev": true, "license": "MIT" }, "node_modules/@lvce-editor/eslint-plugin-tsconfig": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-tsconfig/-/eslint-plugin-tsconfig-17.6.0.tgz", - "integrity": "sha512-c/W6eplqZKJjKtkpKNF3vKttJImCEvVfOHgOgAW2yDzpC51qmpfwjPCwn7UrYhr58q/lKt7ZfTSAazhoP+T9cQ==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-tsconfig/-/eslint-plugin-tsconfig-18.0.0.tgz", + "integrity": "sha512-OibcGVrGkpgXkJBSs1Aix+rm6TlCBZuR3C4A0DdxJlABdPpKLeLYGpGaR8bIwBunnivmKjJPaYPA0KCRW8S+tw==", "dev": true, "license": "MIT", "dependencies": { @@ -3077,9 +3055,9 @@ } }, "node_modules/@lvce-editor/eslint-plugin-virtual-dom": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-virtual-dom/-/eslint-plugin-virtual-dom-17.6.0.tgz", - "integrity": "sha512-Y3QGtPg62OlfVRtojbKHuv+1iuI9TwTNW9RFjCpvuVP+qcm1tF3CfqKngAZATkvYsQfvqXX4J8GXUdm80oyJ2g==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@lvce-editor/eslint-plugin-virtual-dom/-/eslint-plugin-virtual-dom-18.0.0.tgz", + "integrity": "sha512-ueMuPSpbG1iAU4CF1SB/vwX1RSkSgx9nue/89tzGmn9UzAwJfLU4neSc5b+zo9vTVnNQ+4Jp38VFbhoz1BgFsA==", "dev": true, "license": "MIT" }, @@ -12760,13 +12738,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdn-data": { - "version": "2.28.1", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.28.1.tgz", - "integrity": "sha512-U9w+PzSZ00Z5m9rZ5ARVFL5xOfuCHdKYi/1RRwDCJsboFgJDNT3zT6PIPD7mZQYaQLhsZM3GfDRgSMRHhSmVng==", - "dev": true, - "license": "CC0-1.0" - }, "node_modules/media-typer": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", @@ -15133,16 +15104,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/source-map-support": { "version": "0.5.13", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", diff --git a/package.json b/package.json index 0284785..9b6ec00 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "printWidth": 170 }, "devDependencies": { - "@lvce-editor/eslint-config": "^17.6.0", + "@lvce-editor/eslint-config": "^18.0.0", "eslint": "^10.8.0", "knip": "^6.29.0", "prettier": "^3.9.5",