-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
69 lines (69 loc) · 1.4 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"extends": [
"eslint-config-airbnb-base",
"eslint-config-airbnb-base/rules/strict",
"eslint-config-airbnb/rules/react",
"prettier",
"react-app"
],
"plugins": ["react", "react-native", "prettier", "babel"],
"globals": {
"fetch": true,
"ErrorUtils": true,
"btoa": true,
"__DEV__": true
},
"env": {
"jest": true
},
"rules": {
"arrow-body-style": 0,
"no-case-declarations": 0,
"no-unused-vars": [
"error",
{
"args": "after-used"
}
],
"no-return-await": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": [
"error",
{
"packageDir": "./"
}
],
"import/prefer-default-export": 0,
"import/no-unresolved": [2, { "ignore": ["^[~]"] }],
"new-cap": [
2,
{
"capIsNew": false,
"newIsCap": true
}
],
"no-console": 0,
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"parser": "babylon",
"useTabs": false,
"tabWidth": 2
}
],
"react/jsx-filename-extension": 0,
"react/no-unescaped-entities": 0
}
}