-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 920 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import",
"react-native"
],
"rules": {
"import/no-extraneous-dependencies": "off",
"no-underscore-dangle": "off",
"react/prefer-stateless-function": "off",
"class-methods-use-this": "off",
"react/jsx-uses-react": 1,
"react/prop-types": 0,
"react/jsx-no-bind": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
},
"globals": {
"__BUNDLE_START_TIME__": false,
"__DEV__": true,
"__dirname": false,
"__filename": false,
"__fbBatchedBridgeConfig": false,
"alert": false
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".android.js", ".ios.js"]
}
}
}
}