-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
67 lines (57 loc) · 1.51 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
parser: babel-eslint
plugins:
- flowtype
- prettier
extends:
- airbnb
- plugin:prettier/recommended
env:
node: true
browser: true
settings:
import/resolver:
node:
paths:
- packages
extensions:
- .js
- .flow
rules:
prettier/prettier:
- error
- printWidth: 80
tabWidth: 2
useTabs: false
semi: true
singleQuote: true
trailingComma: all
bracketSpacing: true
jsxBracketSameLine: true
arrowParens: avoid
rangeStart: 0
requirePragma: false
insertPragma: false
proseWrap: preserve
eqeqeq: [error, smart]
no-dupe-keys: error
no-return-assign: off
consistent-return: off
import/prefer-default-export: off
react/jsx-filename-extension: [error, { extensions: [.js] }]
react/jsx-one-expression-per-line: off
flowtype/define-flow-type: error
flowtype/no-dupe-keys: error
flowtype/no-flow-fix-me-comments: off
flowtype/no-mutable-array: error
flowtype/no-primitive-constructor-types: error
flowtype/no-types-missing-file-annotation: error
flowtype/no-unused-expressions: off
flowtype/no-weak-types: off
flowtype/require-exact-type: off
flowtype/require-parameter-type: [off, { excludeParameterMatch: '^_[0-9]*$' }]
flowtype/require-return-type: off
flowtype/require-valid-file-annotation: [error, never, { annotationStyle: block }]
flowtype/require-variable-type: off
flowtype/sort-keys: off
flowtype/type-id-match: [error, '^[A-Z][a-z0-9]*']
flowtype/use-flow-type: error