forked from AzuraCast/AzuraCast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.mjs
30 lines (25 loc) · 950 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
import pluginVue from "eslint-plugin-vue";
import {defineConfigWithVueTs, vueTsConfigs} from "@vue/eslint-config-typescript";
export default defineConfigWithVueTs(
pluginVue.configs['flat/essential'],
vueTsConfigs.recommended,
{
rules: {
"@typescript-eslint/no-unused-vars": ["error", {
varsIgnorePattern: "^_|props",
}],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/prefer-promise-reject-errors": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"vue/multi-word-component-names": "off",
"vue/require-default-prop": "off",
"vue/html-indent": ["error", 4, {
attribute: 1,
baseIndent: 1,
closeBracket: 0,
alignAttributesVertically: true,
}],
"vue/no-v-html": "off",
},
}
);