-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.yml
80 lines (80 loc) · 1.45 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
extends: airbnb
plugins:
- react
ecmaFeatures:
jsx: true
env:
es6: true
browser: true
node: true
jest: true
settings:
import/resolver: webpack
globals:
google: false
twttr: true
Auth0: false
rules:
consistent-return: off
comma-dangle:
- error
- never
no-trailing-spaces:
- error
- skipBlankLines: true
no-confusing-arrow:
- error
- allowParens: true
block-spacing:
- error
- never
arrow-spacing:
- error
- before: true
after: true
object-curly-spacing: off
space-in-parens:
- error
- never
space-before-function-paren:
- error
- never
space-before-blocks:
- error
- always
keyword-spacing:
- error
- before: true
after: true
jsx-quotes: off
quotes:
- error
- single
- avoidEscape: true
allowTemplateLiterals: true
global-require: off
react/jsx-closing-bracket-location: off
import/no-unresolved: off
react/react-in-jsx-scope: off
no-irregular-whitespace: off
no-unused-expressions:
- error
- allowShortCircuit: true
allowTernary: true
no-underscore-dangle:
- error
- allowAfterThis: true
allow:
- _handleNestedListToggle
- _disableDisplay
- _DEPRECATION_NOTICE
- __IS_SMOOTH_SCROLLING
- __scroll__direction
- __CA_DELAYED_MODAL
- _wq
- __dataID__
- _fbq
- _hsq
no-param-reassign:
- error
- props: false