-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
145 lines (145 loc) · 2.4 KB
/
.eslintrc.yml
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
root: true
env:
node: true
browser: true
es6: true
parser: '@typescript-eslint/parser'
plugins:
- '@typescript-eslint'
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- plugin:yml/standard
overrides:
- files:
- '**/*.js'
rules:
'@typescript-eslint/no-inferrable-types':
- 0
'@typescript-eslint/explicit-function-return-type':
- 0
rules:
'@typescript-eslint/no-empty-interface':
- 2
'@typescript-eslint/no-inferrable-types':
- 2
'@typescript-eslint/explicit-function-return-type':
- 2
eqeqeq:
- 2
camelcase:
- 2
no-console:
- 2
no-lonely-if:
- 2
comma-dangle:
- 2
- arrays: never
objects: always-multiline
imports: always-multiline
exports: always-multiline
functions: never
indent:
- 2
- 2
object-curly-spacing:
- 2
- always
array-bracket-spacing:
- 2
- always
curly:
- 2
- all
template-curly-spacing:
- 2
no-trailing-spaces:
- 2
no-spaced-func:
- 2
space-before-blocks:
- 2
semi:
- 2
- never
object-curly-newline:
- 2
- multiline: true
minProperties: 2
consistent: true
object-property-newline:
- 2
object-shorthand:
- 2
no-param-reassign:
- 2
- props: false
no-extra-parens:
- 2
no-return-await:
- 2
no-self-compare:
- 2
no-template-curly-in-string:
- 2
no-throw-literal:
- 2
no-undef-init:
- 2
no-unmodified-loop-condition:
- 2
no-unneeded-ternary:
- 2
no-unreachable-loop:
- 2
no-unsafe-optional-chaining:
- 2
no-unused-expressions:
- 2
no-use-before-define:
- 2
- functions: false
no-useless-backreference:
- 2
no-useless-call:
- 2
no-useless-computed-key:
- 2
no-useless-concat:
- 2
no-useless-constructor:
- 2
no-useless-rename:
- 2
no-useless-return:
- 2
no-var:
- 2
nonblock-statement-body-position:
- 2
one-var-declaration-per-line:
- 2
prefer-arrow-callback:
- 2
prefer-const:
- 2
prefer-exponentiation-operator:
- 2
prefer-numeric-literals:
- 2
prefer-object-spread:
- 2
prefer-promise-reject-errors:
- 2
prefer-template:
- 2
prefer-rest-params:
- 2
rest-spread-spacing:
- 2
require-atomic-updates:
- 2
require-await:
- 2