diff --git a/package-lock.json b/package-lock.json index 5079f22..537d29f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,16 @@ { "name": "@sota1235/eslint-config", - "version": "5.0.1", + "version": "5.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@sota1235/eslint-config", - "version": "5.0.1", + "version": "5.0.2", "license": "MIT", "dependencies": { "@eslint/js": "9.13.0", "@types/eslint__js": "8.42.3", - "@typescript-eslint/eslint-plugin": "8.11.0", - "@typescript-eslint/parser": "8.11.0", "eslint": ">= 9", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", diff --git a/package.json b/package.json index 1b60064..ff00553 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sota1235/eslint-config", - "version": "5.0.2", + "version": "5.0.3", "description": "ESLint configuration for @sota1235", "main": "src/index.js", "type": "module", @@ -19,8 +19,6 @@ "dependencies": { "@eslint/js": "9.13.0", "@types/eslint__js": "8.42.3", - "@typescript-eslint/eslint-plugin": "8.11.0", - "@typescript-eslint/parser": "8.11.0", "eslint": ">= 9", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", diff --git a/src/typescript.js b/src/typescript.js index 0ed808a..50e7978 100644 --- a/src/typescript.js +++ b/src/typescript.js @@ -1,6 +1,5 @@ // @ts-check import tseslint from "typescript-eslint"; -import tsPlugin from "@typescript-eslint/eslint-plugin"; import base from "./base.js"; /** @@ -22,7 +21,7 @@ export default ({ tsconfigPath = "./tsconfig.json" }) => [ { files: ["**/*.test.{tsx,ts,cts,mts}"], plugins: { - "@typescript-eslint": tsPlugin, + "@typescript-eslint": tseslint.plugin, }, rules: { "@typescript-eslint/no-explicit-any": "off",