-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
67 lines (64 loc) · 1.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
env:
es6: true
commonjs: true
parser: babel-eslint
parserOptions:
ecmaVersion: 2018
sourceType: module
ecmaFeatures:
impliedStrict: true
modules: true
rules:
array-callback-return: 2
arrow-body-style: 2
class-methods-use-this: 2
dot-notation: 2
no-constant-condition:
- 2
- checkLoops: false
no-duplicate-imports: 2
no-empty-function: 2
no-else-return: 2
no-eval: 2
no-extend-native: 2
no-extra-bind: 2
no-global-assign: 2
no-implicit-globals: 2
no-implied-eval: 2
no-invalid-this: 2
no-lonely-if: 2
no-loop-func: 2
no-new: 2
no-new-wrappers: 2
no-proto: 2
no-self-compare: 2
no-throw-literal: 2
no-unmodified-loop-condition: 2
no-unneeded-ternary:
- 2
- defaultAssignment: false
no-unsafe-negation: 2
no-unused-expressions:
- 2
- allowTernary: true
allowShortCircuit: true
no-useless-call: 2
no-useless-computed-key: 2
no-useless-concat: 2
no-useless-constructor: 2
no-useless-rename: 2
no-with: 2
operator-assignment: 2
prefer-arrow-callback: 2
prefer-const:
- 2
- destructuring: all
rest-spread-spacing: 2
semi: 2
semi-spacing: 2
semi-style: 2
space-before-blocks: 2
space-infix-ops: 2
space-unary-ops: 2
spaced-comment: 2
yoda: 2