Skip to content

Commit

Permalink
chore: fix duplicate eslint config entries and ignore license pages
Browse files Browse the repository at this point in the history
  • Loading branch information
trobonox committed Nov 17, 2024
1 parent 19e8437 commit 0c171dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -27,6 +23,6 @@ export default withNuxt(
},
},
{
ignores: ["src-tauri/**/*", "dist/**/*"],
ignores: ["src-tauri/**/*", "dist/**/*", "pages/licenses/**/*"],
}
);

0 comments on commit 0c171dc

Please sign in to comment.