forked from charliesbot/react-native-media-controls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
60 lines (59 loc) · 1.56 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
56
57
58
59
60
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react",
"plugin:flowtype/recommended"
],
"plugins": [
"react",
"react-native",
"flowtype",
"flowtype-errors",
"prettier"
],
"env": {
"react-native/react-native": true
},
"rules": {
"semi": 0,
"arrow-parens": 0,
"class-methods-use-this": 0,
"curly": [2, "multi-line"],
"flowtype-errors/enforce-min-coverage": [2, 70],
"flowtype-errors/show-errors": 2,
"flowtype/boolean-style": [2, "boolean"],
"flowtype/no-dupe-keys": 2,
"flowtype/object-type-delimiter": 2,
"flowtype/require-valid-file-annotation": [
2,
"always",
{ "annotationStyle": "line" }
],
"flowtype/union-intersection-spacing": [2, "always"],
"global-require": "off",
"import/extensions": ["error", "never", { "packages": "always" }],
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": [
"error",
{ ignore: ["^react$", "^react-native$"] }
],
"import/no-named-as-default": [0],
"no-confusing-arrow": 0,
"no-duplicate-imports": 0,
"no-else-return": 0,
"no-prototype-builtins": 0,
"no-unused-vars": [2, { "varsIgnorePattern": "^_+$" }],
"prettier/prettier": 2,
"quotes": 0,
"react-native/no-color-literals": 2,
"react-native/no-inline-styles": 2,
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2,
"react/jsx-filename-extension": 0,
"react/sort-comp": 0,
"symbol-description": 0
}
}