-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
65 lines (54 loc) · 1.14 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["svelte3", "@typescript-eslint"],
"extends": [
"plugin:@typescript-eslint/recommended",
"eslint:recommended"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"overrides": [{
"processor": "svelte3/svelte3",
"files": ["*.svelte"]
}],
"rules": {
"@typescript-eslint/no-unused-vars": [2, {
"vars": "local", "args": "after-used"
}],
"@typescript-eslint/no-redeclare": 2,
"@typescript-eslint/no-namespace": 0,
"generator-star-spacing": 0,
"quotes": [2, "single"],
"no-unused-vars": 0,
"no-redeclare": 0,
"comma-dangle": 2,
"no-debugger": 1,
"no-console": 0,
"no-undef": 0,
"semi": 2
},
"settings": {
"svelte3/typescript": true
},
"globals": {
"navigator": false,
"document": false,
"unescape": false,
"describe": true,
"escape": false,
"window": false,
"before": true,
"expect": true,
"THREE": false,
"sinon": true,
"it": true
},
"env": {
"browser": true,
"node": true,
"es6": true
}
}