forked from invertase/react-native-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 837 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
{
"root": true,
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/flowtype", "prettier/react"],
"parser": "babel-eslint",
"plugins": ["flowtype", "prettier"],
"env": {
"es6": true,
"node": true,
"shelljs": true,
"jest": true
},
"rules": {
"no-new": 0,
"no-continue": 0,
"no-extend-native": 0,
"import/no-dynamic-require": 0,
"global-require": "off",
"class-methods-use-this": 0,
"no-console": 1,
"no-plusplus": 0,
"no-undef": 0,
"no-underscore-dangle": "off",
"no-use-before-define": 0,
"react/forbid-prop-types": "warn",
"react/jsx-filename-extension": ["off", { "extensions": [".js", ".jsx"] }],
"import/no-cycle": 1,
"import/no-unresolved": 0
},
"globals": {
"__DEV__": true,
"__RNFB__": true,
"window": true
}
}