-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
115 lines (115 loc) · 2.86 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"parser": "@typescript-eslint/parser",
"env": {
"es6": true,
"node": true,
"mocha": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"allowImportExportEverywhere": true
},
"rules": {
"indent": "off",
"@typescript-eslint/indent": [
"warn",
4
],
"no-inner-declarations": "off",
"no-console": "warn",
"no-unused-vars": 0,
"no-global-assign": "warn",
"require-atomic-updates": "off",
"no-prototype-builtins": "off",
"no-extra-semi": "error",
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
],
"semi": [
"error",
"never"
],
"brace-style": [
1,
"1tbs",
{
"allowSingleLine": true
}
],
"no-underscore-dangle": 0,
"space-in-parens": [
"warn",
"never"
],
"object-curly-spacing": [
"warn",
"always"
],
"array-bracket-spacing": [
"warn",
"never"
],
"comma-spacing": [
"error",
{
"before": false,
"after": true
}
],
"keyword-spacing": 1,
"key-spacing": [
"warn",
{
"beforeColon": false,
"afterColon": true
}
],
"arrow-body-style": 0,
"no-multi-spaces": 1,
"comma-dangle": 0,
"no-else-return": 0,
"no-shadow": 0,
"class-methods-use-this": 0,
"no-use-before-define": 0,
"global-require": 0,
"max-len": 0,
"object-curly-newline": 0,
"operator-linebreak": 0,
"no-nested-ternary": 0,
// "no-undef": 2,
"no-param-reassign": 0,
"no-throw-literal": 0,
"no-useless-catch": 0,
"no-implicit-globals": 2,
"no-loop-func": 0,
"no-plusplus": 0,
"arrow-parens": 0,
"consistent-return": 0,
"camelcase": 0,
"import/no-cycle": 0,
"prefer-const": 1,
"no-trailing-spaces": 1,
"import/prefer-default-export": 0,
"no-case-declarations": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/no-empty-function": 1,
"@typescript-eslint/triple-slash-reference": 0,
"@typescript-eslint/ban-types": 0,
"space-infix-ops": 1
}
}