-
Notifications
You must be signed in to change notification settings - Fork 49
/
eslint.config.js
27 lines (25 loc) · 901 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
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 trobonox <[email protected]>
//
// SPDX-License-Identifier: CC0-1.0
import withNuxt from './.nuxt/eslint.config.mjs'
import tailwind from "eslint-plugin-tailwindcss";
export default withNuxt(
...tailwind.configs["flat/recommended"],
{
files: ['**/*.ts', '**/*.vue'],
rules: {
"indent": ["warn", 4],
"no-undef": "off",
"perfectionist/sort-vue-attributes": "off",
"tailwindcss/no-custom-classname": "off",
"vue/html-indent": ["warn", 4],
"vue/multi-word-component-names": "off",
"vue/v-on-event-hyphenation": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/unified-signatures": "off"
}
},
{
ignores: ["src-tauri/**/*", "dist/**/*"]
}
)