forked from antonKalinin/react-native-image-view
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 889 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"plugin:jest/recommended",
"prettier",
"prettier/react"
],
"plugins": [
"flowtype",
"jest",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"import/extensions": "off",
"import/no-unresolved": "off",
"react/require-default-props": "off",
"react/destructuring-assignment": "off",
"global-require": "off",
"no-restricted-properties": "off",
"no-unused-vars": "error",
"import/no-extraneous-dependencies": "error",
"flowtype/no-weak-types": [
1,
{
"any": true,
"Function": true,
"Object": false
}
]
},
"env": {
"es6": true
}
}