-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc.json
51 lines (51 loc) · 1.48 KB
/
.eslintrc.json
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
40
41
42
43
44
45
46
47
48
49
50
51
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
// add more generic rulesets here, such as:
"@antfu/eslint-config-vue",
"plugin:vue/vue3-recommended"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": [
"vue",
"@typescript-eslint",
"import"
],
"rules": {
// override/add rules settings here, such as:
"curly": "off",
"vue/no-unused-vars": "error",
"vue/no-mutating-props" : "error",
"vue/require-prop-types" : "off",
"vue/no-v-html" : "off",
"vue/valid-attribute-name": "off",
"max-len": "off",
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript/no-unused-vars": "off",
"vue/multi-word-component-names": "off",
"@typescript/brace-style": "off",
"lines-around-comment": [
"error",
{
"beforeBlockComment": true,
"beforeLineComment": true,
"allowBlockStart": true,
"allowClassStart": true,
"allowObjectStart": true,
"allowArrayStart": true
}
]
},
"ignorePatterns": [".eslintrc.js"]
}