forked from AzuraCast/AzuraCast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.mjs
31 lines (27 loc) · 925 Bytes
/
eslint.config.mjs
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
29
30
31
import js from "@eslint/js";
import pluginVue from "eslint-plugin-vue";
import vueTsEslintConfig from "@vue/eslint-config-typescript";
export default [
js.configs.recommended,
...pluginVue.configs["flat/essential"],
...vueTsEslintConfig({}),
{
rules: {
"@typescript-eslint/no-unused-vars": ["error", {
varsIgnorePattern: "^_|props",
}],
"@typescript-eslint/no-explicit-any": "off",
"vue/multi-word-component-names": "off",
"vue/html-indent": ["error", 4, {
attribute: 1,
baseIndent: 1,
closeBracket: 0,
alignAttributesVertically: true,
}],
"vue/no-v-html": "off",
"vue/no-mutating-props": "off",
"vue/no-multiple-template-root": "off",
"vue/no-setup-props-destructure": "off",
},
}
];