-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 979 Bytes
/
.eslintrc
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
32
33
34
35
36
37
38
39
{
"extends": ["@nuxtjs/eslint-config-typescript", "plugin:prettier/recommended"],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
},
"rules": {
"@typescript-eslint/ban-types": 2,
"@typescript-eslint/no-explicit-any": 0,
"vue/script-setup-uses-vars": 2,
"vue/no-v-html": 0,
"vue/no-v-text-v-html-on-component": 0,
"vue/multi-word-component-names": 0,
"vue/no-multiple-template-root": 0,
"new-cap": 2,
"object-property-newline": 0,
"no-console": 0,
"import/no-named-as-default-member": 0,
"max-len": [
"error",
{
"code": 120,
"ignoreComments": true,
"ignoreUrls": true,
},
],
"prettier/prettier": [
"error",
{
"endOfLine": "auto",
"printWidth": 120,
"singleAttributePerLine": true,
"singleQuote": true,
},
],
"quotes": ["error", "single"],
"import/named": 0,
},
}