forked from Nozbe/withObservables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
72 lines (65 loc) · 1.12 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
---
env:
es6: true
jest: true
plugins:
- flowtype
extends:
# https://github.com/airbnb/javascript
- airbnb
- plugin:flowtype/recommended
- prettier
parser: babel-eslint
settings:
flowtype:
onlyFilesWithFlowAnnotation: true
rules:
arrow-parens:
- 2
- as-needed
semi:
- 2
- never
class-methods-use-this: 0
comma-dangle:
- 2
- always-multiline
no-console:
- 2
no-unused-expressions: 0
no-param-reassign:
- 2
- props: false
no-useless-escape: 0
func-names: 0
quotes:
- 2
- single
- allowTemplateLiterals: true
no-underscore-dangle: 0
object-curly-newline: 0
function-paren-newline: 0
operator-linebreak:
- 2
- after
no-unused-vars:
- 2
- argsIgnorePattern: "^_"
no-else-return:
- 2
- allowElseIf: true
flowtype/delimiter-dangle:
- 2
- always-multiline
flowtype/require-return-type:
- 2
- always
- excludeArrowFunctions: true
annotateUndefined: always
import/no-unresolved: 0
import/named: 0
import/no-extraneous-dependencies: 0
globals:
document: true
window: true
self: true