forked from styled-components/styled-components
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
55 lines (55 loc) · 1.36 KB
/
.eslintrc
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
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier",
"prettier/flowtype"
],
"globals": {
"__SERVER__": true
},
"plugins": ["flowtype", "flowtype-errors", "prettier"],
"rules": {
"semi": 0,
"quotes": 0,
"comma-dangle": 0,
"curly": [2, "multi-line"],
"arrow-parens": 0,
"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,
"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",
],
},
"env": {
"jest": true,
"browser": true
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
}
}