From a50d1ed44f30bef5cc570132c44c71be156f8080 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sat, 15 Mar 2025 12:53:21 +0100 Subject: [PATCH] chore: cleanup dev-deps Signed-off-by: Jan Kowalleck --- eslint.config.mjs | 6 +++--- tools/code-style/eslint.config.mjs | 8 ++++---- tools/code-style/package.json | 2 -- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 6619d1a5e..b146b0c68 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -25,11 +25,11 @@ import { default as baseCfg, globals } from './tools/code-style/eslint.config.mj const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename) -/* eslint-disable jsdoc/valid-types */ +/* eslint-disable jsdoc/valid-types -- type-import not supported yet */ /** - * @type {import('@types/eslint').Linter.FlatConfig[]} - * @see {@link https://eslint.org/} + * @type {import('./tools/code-style/node_modules/eslint').Linter.Config[]} + * @see https://eslint.org/ */ export default [ ...baseCfg, diff --git a/tools/code-style/eslint.config.mjs b/tools/code-style/eslint.config.mjs index e17e5e29b..58eeb0210 100644 --- a/tools/code-style/eslint.config.mjs +++ b/tools/code-style/eslint.config.mjs @@ -35,13 +35,13 @@ const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename) const projectRoot = path.dirname(path.dirname(__dirname)) -/* eslint-disable jsdoc/valid-types */ - const licenseHeaderFile = path.join(projectRoot, '.license-header.js') +/* eslint-disable jsdoc/valid-types -- type-import not supported yet */ + /** - * @type {import('@types/eslint').Linter.FlatConfig[]} - * @see {@link https://eslint.org/} + * @type {import('eslint').Linter.Config[]} + * @see https://eslint.org/ */ export default [ { diff --git a/tools/code-style/package.json b/tools/code-style/package.json index 5d6f46b71..eb68da016 100644 --- a/tools/code-style/package.json +++ b/tools/code-style/package.json @@ -6,9 +6,7 @@ "node": ">=20.18" }, "dependencies": { - "@eslint/eslintrc": "3.3.0", "@eslint/js": "9.22.0", - "@types/eslint": "^9.6.1", "eslint": "9.14.0", "eslint-config-love": "119.0.0", "eslint-plugin-editorconfig": "4.0.3",