forked from balance-io/balance-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 857 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
36
{
"parser": "babel-eslint",
"plugins": [
"react",
"react-native"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"extends" : [
"eslint:recommended",
"plugin:react/recommended",
"airbnb-base"
],
"rules" : {
"arrow-body-style": "warn",
"class-methods-use-this": "off",
"no-console": "off",
"max-len": ["error", {"code": 160, "comments": 500}],
#"max-len": ["off", {"code": 160, "comments": 500}],
"no-tabs": "error",
"indent": ["error", 2],
"no-use-before-define": ["error", {"functions": false, "variables": false}],
"no-unused-vars": ["error", {"args": "none"}],
"no-plusplus": ["off"],
"no-underscore-dangle": ["off"],
"arrow-parens": ["off"],
"no-param-reassign": ["off"]
},
"globals": {
"fetch": false
}
}