-
-
Notifications
You must be signed in to change notification settings - Fork 863
/
.eslintrc.js
34 lines (34 loc) · 951 Bytes
/
.eslintrc.js
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
module.exports = {
extends: 'airbnb',
parser: 'babel-eslint',
plugins: [
'jest'
],
parserOptions: {
ecmaFeatures: {
classes: true
}
},
env: {
'jest/globals': true
},
rules: {
'max-len': [2, {'code': 110, 'tabWidth': 2, 'ignoreUrls': true}],
'react/jsx-filename-extension': ['error', { 'extensions': ['.js', '.jsx'] }],
'global-require': 'off',
'no-console': 'off',
'import/no-extraneous-dependencies': 'off',
'import/extensions': 'off',
'import/no-unresolved': 'off',
'jsx-a11y/anchor-is-valid': 'off',
'no-underscore-dangle': 'off',
'prefer-promise-reject-errors': 'off',
'no-nested-ternary': 'off',
'react/no-multi-comp': 'off',
'react/no-unescaped-entities': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'react/jsx-props-no-spreading': 'off',
'react/jsx-fragments': 'off',
}
};