-
Notifications
You must be signed in to change notification settings - Fork 92
/
.eslintrc
29 lines (29 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react",
"react-native"
],
"ecmaFeatures": {
"jsx": true,
"es6": true,
"classes": true
},
"rules": {
"comma-dangle": [1, "always-multiline"],
"no-underscore-dangle" : 0,
"max-len": [1, 180, 4],
"arrow-body-style": [0],
"no-param-reassign": ["error", { "props": false }],
"react/require-extension": "off",
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2,
"react-native/no-inline-styles": 2,
"react-native/no-color-literals": 2,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prefer-stateless-function": [0],
"jsx-quotes": ["error", "prefer-single"],
"no-unused-expressions": ["error", { "allowShortCircuit": true }]
}
}