-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc.js
38 lines (38 loc) · 929 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
35
36
37
38
module.exports = {
env: {
browser: true,
es6: true,
jest: true
},
extends: ['airbnb/base', 'plugin:prettier/recommended'],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
plugins: ['prettier'],
rules: {
'prettier/prettier': 'error',
'import/no-mutable-exports': 'off',
'no-unused-expressions': 'off',
'no-use-before-define': 'off',
'import/named': 'off',
'import/no-named-as-default': 'off',
'import/no-named-as-default-member': 'off',
'no-shadow': 'off',
'prefer-promise-reject-errors': 'off',
'no-param-reassign': 'off',
'no-underscore-dangle': 'off',
'no-nested-ternary': 'off',
'import/no-cycle': 'off',
'no-lonely-if': 'off',
'consistent-return': 'off',
'no-case-declarations': 'off'
},
settings: {
'import/resolver': {
'babel-plugin-root-import': {
rootPathSuffix: 'src'
}
}
}
}