-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
35 lines (35 loc) · 846 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
{
"root": true,
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"ecmaVersion": "latest"
},
"extends": [
// add more generic rulesets here, such as:
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended"
// 'plugin:vue/recommended' // Use this if you are using Vue.js 2.x.
],
"rules": {
// override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error',
"indent": ["error", 4],
"no-tabs": "error",
"semi": "warn",
"vue/max-attributes-per-line": [
"error",
{
"singleline": {
"max": 3
},
"multiline": {
"max": 1
}
}
]
},
"ignorePatterns": ["node_modules", "build", "dist", "public"]
}