forked from jhen0409/react-native-debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 852 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"jest": true
},
"settings": {
"import/core-modules": ["electron"]
},
"rules": {
"react/prefer-stateless-function": 0,
"consistent-return": 0,
"strict": 0,
"no-console": 1,
"no-param-reassign": ["error", { "props": false }],
"no-underscore-dangle": [
"error",
{
"allow": [
"__IS_REDUX_NATIVE_MESSAGE__",
"__AVAILABLE_METHODS_CAN_CALL_BY_RNDEBUGGER__",
"__PLATFORM__",
"__REPORT_REACT_DEVTOOLS_PORT__"
]
}
],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": [
"error",
{ "optionalDependencies": true }
]
}
}