From 0c171dc18bc068aebcdaeccb9c13ea1327c866c4 Mon Sep 17 00:00:00 2001 From: trobonox <57040351+trobonox@users.noreply.github.com> Date: Sun, 17 Nov 2024 16:38:35 +0100 Subject: [PATCH] chore: fix duplicate eslint config entries and ignore license pages --- eslint.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 11122c53..143adab5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -5,14 +5,10 @@ import withNuxt from "./.nuxt/eslint.config.mjs"; import tailwind from "eslint-plugin-tailwindcss"; import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"; -import tseslint from "typescript-eslint"; -import js from "@eslint/js"; export default withNuxt( ...tailwind.configs["flat/recommended"], eslintPluginPrettierRecommended, - ...tseslint.configs.recommended, - js.configs.recommended, { files: ["**/*.ts", "**/*.vue"], rules: { @@ -27,6 +23,6 @@ export default withNuxt( }, }, { - ignores: ["src-tauri/**/*", "dist/**/*"], + ignores: ["src-tauri/**/*", "dist/**/*", "pages/licenses/**/*"], } );