forked from jimmycann/styled-components
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
80 lines (80 loc) · 1.57 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier",
"prettier/flowtype"
],
"globals": {
"__SERVER__": true,
"__VERSION__": true
},
"plugins": [
"flowtype",
"flowtype-errors",
"prettier"
],
"rules": {
"curly": [
2,
"multi-line"
],
"class-methods-use-this": 0,
"symbol-description": 0,
"no-unused-vars": [
2,
{
"varsIgnorePattern": "^_+$"
}
],
"import/no-extraneous-dependencies": 0,
"no-confusing-arrow": 0,
"no-else-return": 0,
"react/sort-comp": 0,
"react/jsx-filename-extension": 0,
"react/prefer-stateless-function": 0,
"react/no-multi-comp": 0,
"react/require-default-props": 0,
"flowtype-errors/show-errors": 2,
"no-prototype-builtins": 0,
"no-duplicate-imports": 0,
"flowtype/require-valid-file-annotation": [
2,
"always",
{
"annotationStyle": "line"
}
],
"flowtype/boolean-style": [
2,
"boolean"
],
"flowtype/no-dupe-keys": 2,
"flowtype/union-intersection-spacing": [
2,
"always"
],
"flowtype/object-type-delimiter": 2,
"prettier/prettier": 2,
"no-restricted-syntax": [
"error",
"ForOfStatement",
"LabeledStatement",
"WithStatement"
],
"no-return-assign": 0
},
"env": {
"jest": true,
"browser": true
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
}
}