-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
45 lines (44 loc) · 1.12 KB
/
.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
39
40
41
42
43
44
45
{
"extends": ["airbnb"],
"plugins": ["react", "react-native"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".android.js", ".ios.js"]
}
},
"react": {
"version": "16.4.1"
}
},
"globals": {
"fetch": true,
"__DEV__": true,
"navigator": true
},
"rules": {
"react/jsx-filename-extension": 0,
"react/no-unescaped-entities": 0,
"react/jsx-one-expression-per-line": 0,
"react/destructuring-assignment": 0,
"react/require-default-props": 0,
"global-require": 0,
"no-param-reassign": 0,
"max-len": ["warn", 150, 2, {
"ignoreUrls": true,
"ignoreComments": false,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}],
"arrow-parens": ["error", "always", {
"requireForBlockBody": true
}],
"no-unused-expressions": ["error", {
"allowShortCircuit": true,
"allowTernary": true,
"allowTaggedTemplates": true
}]
},
"parser": "babel-eslint"
}