-
Notifications
You must be signed in to change notification settings - Fork 40
/
.eslintrc.json
41 lines (41 loc) · 908 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"plugins": ["vitest", "@typescript-eslint"],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"extraFileExtensions": [".svelte"]
},
"extends": [
"eslint:recommended",
"plugin:import/recommended",
"plugin:svelte/recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"browser": true,
"node": true
},
"overrides": [
{
"files": ["*.svelte"],
"parser": "svelte-eslint-parser",
"rules": {
"no-undef": "off"
},
"parserOptions": {
"parser": "@typescript-eslint/parser"
}
}
],
"rules": {
"arrow-parens": 0,
"curly": [2, "multi-line"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"strict": 0,
"no-use-before-define": 0,
"import/no-unresolved": 0,
"no-inner-declarations": 0
}
}