-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
70 lines (70 loc) · 1.39 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
66
67
68
69
70
{
"env": {
"es6": true,
"node": true
},
"extends": [
"standard"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"warnOnUnsupportedTypeScriptVersion": false,
"project": [
"./tsconfig.json"
],
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-void": "off",
"@typescript-eslint/no-floating-promises": "error",
"prefer-promise-reject-errors": "error",
"promise/param-names": "off",
"no-trailing-spaces": "off",
"no-multiple-empty-lines": "off",
"no-return-assign": "off",
"spaced-comment": "off",
"key-spacing": [
"error",
{
"afterColon": true
}
],
"quotes": [
"error",
"double"
],
"quote-props": "off",
"camelcase": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-unused-expressions": "off",
"@typescript-eslint/type-annotation-spacing": [
"error",
{
"after": false
}
],
"space-before-function-paren": [
"error",
"never"
],
"eqeqeq": "off",
"no-empty": "off",
"no-useless-return": "off",
"no-unreachable": "off",
"prefer-const": "off",
"space-in-parens": [
"error",
"never"
]
},
"ignorePatterns": [
"./dist/**/*",
"./external/**/*"
]
}