-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
46 lines (46 loc) · 1.04 KB
/
.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
42
43
44
45
46
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"env": {
"serviceworker": true,
"browser": true,
"jest": true
},
"rules": {
"operator-linebreak": "off",
"max-len": [
"error",
{
"code": 300
}
],
"comma-dangle": "off",
"space-before-function-paren": "off",
"func-names": "off",
"indent": "off",
"function-paren-newline": "off",
"arrow-parens": "off",
"no-use-before-define": "off",
"no-console": "off",
"object-curly-newline": "off",
"class-methods-use-this": "off",
"no-else-return": "off",
"implicit-arrow-linebreak": "off",
"no-confusing-arrow": "off",
"no-plusplus": "off",
"import/no-named-default": "off",
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowExpressions": true
}
]
},
"settings": {}
}