-
Notifications
You must be signed in to change notification settings - Fork 31
/
.eslintrc.js
47 lines (47 loc) · 1.3 KB
/
.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
39
40
41
42
43
44
45
46
47
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
},
extends: [
'airbnb-base',
'prettier',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
parser: '@typescript-eslint/parser',
plugins: ['prettier', '@typescript-eslint'],
parserOptions: {
ecmaVersion: 12,
},
rules: {
'prettier/prettier': 'error',
'func-names': 'off',
'import/prefer-default-export': 'off',
'no-plusplus': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'max-classes-per-file': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'class-methods-use-this': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'import/no-unresolved': 'off',
'no-useless-constructor': 'off',
'no-empty-function': 'off',
'import/extensions': 'off',
'consistent-return': 'off',
'no-use-before-define': 'off',
'array-callback-return': 'off',
'no-param-reassign': 'off',
'no-new-func': 'off',
'no-empty': 'off',
'import/no-dynamic-require': 'off',
'global-require': 'off',
'import/no-extraneous-dependencies': 'off',
'no-template-curly-in-string': 'off',
'arrow-body-style': 'off',
'prefer-promise-reject-errors': 'off',
},
};