forked from Fysiksektionen/sangbok-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (38 loc) · 1.02 KB
/
.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
40
41
42
43
{
"root": true,
"env": {
"node": true,
"es2022": true
},
"extends": [
"plugin:vue/vue3-essential",
"@vue/standard",
"@vue/typescript/recommended"
],
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"space-before-function-paren": "off",
"semi": "warn",
"quotes": "warn",
"quote-props": "warn",
"comma-dangle": "warn",
"keyword-spacing": "warn",
"object-curly-spacing": "warn",
"block-spacing": "warn",
"space-infix-ops": "warn",
"indent": ["warn", 2],
"no-multiple-empty-lines": "warn",
"padded-blocks": "warn",
"one-var": "warn",
"prefer-const": "warn",
"no-unused-vars": "warn",
"no-use-before-define": "warn",
"no-duplicate-imports": ["error"],
"@typescript-eslint/no-unused-vars": ["warn"],
"@typescript-eslint/no-explicit-any": ["warn"],
"@typescript-eslint/no-use-before-define": ["error"],
"vue/no-unused-components": "warn"
}
}