forked from styled-components/styled-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
54 lines (54 loc) · 1.42 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
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier", "prettier/flowtype"],
"globals": {
"__SERVER__": true,
"__VERSION__": true
},
"plugins": ["flowtype", "flowtype-errors", "prettier"],
"rules": {
"class-methods-use-this": 0,
"curly": [2, "multi-line"],
"flowtype-errors/show-errors": 2,
"import/no-extraneous-dependencies": 0,
"no-confusing-arrow": 0,
"no-continue": 0,
"no-duplicate-imports": 0,
"no-else-return": 0,
"no-prototype-builtins": 0,
"no-underscore-dangle": 0,
"no-unused-vars": [2],
"react/destructuring-assignment": 0,
"react/jsx-filename-extension": 0,
"react/no-multi-comp": 0,
"react/prefer-stateless-function": 0,
"react/require-default-props": 0,
"react/sort-comp": 0,
"symbol-description": 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,
"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
}
}
}