-
Notifications
You must be signed in to change notification settings - Fork 249
/
.eslintrc.json
48 lines (48 loc) · 1.15 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"env": {
"jest": true
},
"plugins": ["react-native", "jsx-a11y", "import"],
"extends": ["airbnb", "plugin:react-native/all"],
"rules": {
"no-plusplus": 0,
"max-len": 0,
"lines-between-class-members": 0,
"no-underscore-dangle": 0,
"import/no-cycle": 0,
"no-alert": 0,
"react-native/split-platform-components": 0,
"import/no-extraneous-dependencies": 0,
"import/no-dynamic-require": 0,
"react/jsx-max-props-per-line": [1, { "maximum": 1, "when": "always" }],
"react/jsx-first-prop-new-line": [1, "always"],
"react-native/no-inline-styles": 0,
"react/jsx-wrap-multilines": 0,
"react-native/no-raw-text": 0,
"consistent-return": 0,
"react/jsx-filename-extension": [
"error",
{
"extensions": [".js", ".jsx"]
}
],
"global-require": "off",
"no-console": "off",
"import/prefer-default-export": "off",
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
]
},
"settings": {
"import/resolver": {
"babel-plugin-root-import": {}
}
},
"globals": {
"__DEV__": true
}
}