-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc
61 lines (61 loc) · 1.9 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
{
'parser': 'babel-eslint',
'plugins': [
'jest',
'promise',
'import',
],
'extends': [
'airbnb',
'plugin:jest/recommended'
],
'settings': {
'import/resolver': {
'node': {
'moduleDirectory': ['node_modules', './']
},
},
},
'rules': {
'arrow-body-style': 0,
'arrow-parens': [2, 'as-needed', { 'requireForBlockBody': false }],
'comma-dangle': [2, 'always-multiline'],
'consistent-return': 0,
'dot-notation': 0,
'function-paren-newline': 0,
'import/extensions': [2, 'ignorePackages'],
'import/prefer-default-export': 0,
'indent': ['error', 4, { 'ignoredNodes': [ 'TemplateLiteral *' ], 'ignoreComments': true }],
'max-len': ['error', 110, 4, { 'ignoreUrls': true }],
'new-cap': 0,
'newline-per-chained-call': 0,
'no-await-in-loop': 0,
'no-confusing-arrow': 0,
'no-console': 0,
'no-continue': 0,
'no-lone-blocks': 0,
'no-mixed-operators': 0,
'no-param-reassign': [2, { 'props': false }],
'no-plusplus': 0,
'no-restricted-globals': 0,
'no-underscore-dangle': 0,
'no-unused-expressions': 0,
'no-unused-vars': [2, { 'args': 'none' }],
'object-curly-newline': 0,
'promise/no-native': 2,
'semi': [2, 'never', { 'beforeStatementContinuationChars': 'always' }],
'jsx-a11y/anchor-is-valid': 0,
'jsx-a11y/mouse-events-have-key-events': 0,
'react/jsx-closing-tag-location': 0,
'react/jsx-filename-extension': 0,
'react/jsx-indent': ['error', 4],
'react/jsx-indent-props': ['error', 4],
'react/jsx-wrap-multilines': 0,
'react/prop-types': 0,
'react/sort-comp': 0,
},
'env': {
'jest/globals': true,
'browser': true,
},
}