forked from kanriapp/kanri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
28 lines (26 loc) · 940 Bytes
/
eslint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 trobonox <hello@trobo.dev>, gitoak
//
// SPDX-License-Identifier: CC0-1.0
import withNuxt from "./.nuxt/eslint.config.mjs";
import tailwind from "eslint-plugin-tailwindcss";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
export default withNuxt(
...tailwind.configs["flat/recommended"],
eslintPluginPrettierRecommended,
{
files: ["**/*.ts", "**/*.vue"],
rules: {
"no-undef": "off",
"tailwindcss/no-custom-classname": "off",
"vue/html-indent": "off",
"vue/multi-word-component-names": "off",
"vue/v-on-event-hyphenation": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/unified-signatures": "off",
"prettier/prettier": "error", // Treat Prettier issues as ESLint errors
},
},
{
ignores: ["src-tauri/**/*", "dist/**/*", "pages/licenses/**/*"],
}
);