forked from styled-components/styled-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.19 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": ["flowtype", "flowtype-errors"],
"rules": {
"semi": [2, "never"],
"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/semi": [2, "never"],
"flowtype/boolean-style": [2, "boolean"],
"flowtype/no-dupe-keys": 2,
"flowtype/space-before-type-colon": [2, "never"],
"flowtype/space-after-type-colon": [2, "always"],
"flowtype/union-intersection-spacing": [2, "always"],
"flowtype/object-type-delimiter": 2
},
"env": {
"mocha": true,
"browser": "true"
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
}
}