-
Notifications
You must be signed in to change notification settings - Fork 67
/
.eslintrc.yaml
63 lines (63 loc) · 1.35 KB
/
.eslintrc.yaml
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
---
parserOptions:
ecmaVersion: 6
sourceType: module
env:
es6: true
mocha: true
rules:
no-dupe-args: error
no-dupe-keys: error
no-duplicate-case: error
no-empty: error
no-func-assign: error
no-inner-declarations: error
no-irregular-whitespace: error
no-unexpected-multiline: error
no-unreachable: error
use-isnan: error
valid-jsdoc:
- off
-
prefer:
returns: return
preferType:
Boolean: boolean
Number: number
String: string
array: Array
object: Object
requireReturn: false
requireParamDescription: false
requireReturnDescription: false
valid-typeof: error
dot-location:
- error
- property
eqeqeq: error
no-empty-function: error
no-extend-native: error
no-extra-bind: error
no-multi-spaces: error
no-native-reassign: error
no-redeclare: error
no-return-assign: error
no-unused-expressions: error
radix: error
yoda: error
no-unused-vars: error
array-bracket-spacing: error
comma-spacing: error
indent:
- off
- 2
max-len: error
max-params:
- warn
- 5
no-lonely-if: error
no-nested-ternary: error
no-spaced-func: error
no-trailing-spaces: error
no-var: off
prefer-const: off