-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc.js
38 lines (38 loc) · 1005 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,
es2021: true,
},
plugins: ['prettier'],
extends: ['airbnb-base', 'airbnb-typescript/base', 'prettier'],
parserOptions: {
ecmaFeatures: {
tsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.eslint.json',
},
rules: {
'import/prefer-default-export': 'off',
'import/no-cycle': 'off',
'import/export': 'off',
'import/named': 'off',
'import/no-unresolved': 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-useless-path-segments': 'off',
'import/extensions': 'off',
'import/order': 'warn',
'arrow-body-style': 'off',
'no-else-return': 'off',
'no-restricted-globals': 'off',
'no-return-assign': 'off',
'no-param-reassign': 'off',
'spaced-comment': 'off',
'no-useless-computed-key': 'off',
'no-nested-ternary': 'off',
'no-lonely-if': 'off',
'object-shorthand': 'off',
'consistent-return': 'off',
},
};