-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
47 lines (47 loc) · 1.37 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 = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 11,
},
env: {
node: true,
browser: false,
},
rules: {
'no-param-reassign': ['off'],
'import/no-unresolved': ['off'],
'lines-between-class-members': ['off'],
'no-multiple-empty-lines': ['warn', { max: 2 }],
'no-unused-vars': ['warn'],
'import/no-mutable-exports': ['off'],
'import/first': ['off'],
'@typescript-eslint/no-empty-function': ['off'],
'@typescript-eslint/no-use-before-define': ['off'],
'@typescript-eslint/no-explicit-any': ['off'],
'@typescript-eslint/no-this-alias': ['off'],
'no-useless-constructor': ['off'],
'max-classes-per-file': ['off'],
indent: ['warn', 'tab', { SwitchCase: 1 }],
'@typescript-eslint/ban-ts-comment': ['off'],
'no-tabs': ['off'],
'linebreak-style': ['warn', 'windows'],
'no-underscore-dangle': ['off'],
'no-plusplus': ['off'],
'no-console': ['off'],
'no-new': ['off'],
'no-use-before-define': ['off'],
'no-continue': ['off'],
'import/prefer-default-export': ['off'],
'import/extensions': ['warn', 'never', { json: 'always', css: 'always' }],
'no-await-in-loop': ['off'],
},
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'airbnb-base',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
}