forked from nedkelly/sapper-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
50 lines (50 loc) · 892 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"plugins": ["prettier", "svelte3"],
"extends": ["prettier"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"arrowFunctions": true,
"defaultParams": true,
"modules": true,
"classes": true
}
},
"rules": {
"prettier": true,
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"array-callback-return": [
"error",
{
"allowImplicit": true
}
],
"no-extra-semi": 2,
"eqeqeq": 1,
"strict": 2,
"no-undef": 2,
"no-unused-vars": [
1,
{
"vars": "all",
"args": "none"
}
],
"no-loop-func": 2,
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": true
}
],
"semi": 1,
"no-mixed-spaces-and-tabs": 2
}
}