-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
62 lines (62 loc) · 1.59 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
{
'extends': 'airbnb',
'parser': 'babel-eslint',
'env': {
'jest': true,
},
'rules': {
'array-callback-return': 'off',
'arrow-body-style': 'off',
'arrow-parens': 'off',
'camelcase': 'off',
'comma-dangle': 'off',
'consistent-return': 'off',
'eqeqeq': 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-named-as-default': 'off',
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
'indent': ['error', 4],
'guard-for-in': 'off',
'jsx-a11y/accessible-emoji': 'off',
'max-len': 'off',
'no-await-in-loop': 'off',
'no-confusing-arrow': 'off',
'no-console': 'off',
'no-lonely-if': 'off',
'no-nested-ternary': 'off',
'no-param-reassign': 'off',
'no-plusplus': 'off',
'no-restricted-globals': 'off',
'no-restricted-syntax': 'off',
'no-shadow': 'off',
'no-undef': 'off',
'no-underscore-dangle': 'off',
'no-use-before-define': 'off',
'no-useless-escape': 'off',
'operator-linebreak': 'off',
'prefer-const': 'off',
'prefer-destructuring': 'off',
'quote-props': 'off',
'react/destructuring-assignment': 'off',
'react/forbid-prop-types': 'off',
'react/jsx-boolean-value': 'off',
'react/jsx-filename-extension': 'off',
'react/jsx-indent': ['error', 4],
'react/jsx-indent-props': ['error', 4],
'react/jsx-one-expression-per-line': 'off',
'react/prop-types': 'off',
'func-names': 'off'
},
'globals': {
"fetch": false
},
'ignorePatterns': [
"docs/",
"truffle_scripts/",
"node_modules/",
"scripts/old/",
"scripts/performance_tests/",
"coverage"
],
}