forked from jhen0409/react-native-debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 1009 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"jest": true
},
"settings": {
"import/core-modules": ["electron"]
},
"rules": {
"linebreak-style": 0,
"react/prefer-stateless-function": 0,
"consistent-return": 0,
"strict": 0,
"no-console": 0,
"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__",
"__FETCH_SUPPORT__",
"__NETWORK_INSPECT__",
"__APOLLO_CLIENT__",
"__APOLLO_DEVTOOLS_SHOULD_DISPLAY_PANEL__"
]
}
],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": ["error", { "optionalDependencies": true }]
}
}