-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
46 lines (43 loc) · 1.06 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
module.exports = {
env: {
node: true,
mocha: true,
},
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'airbnb-base',
],
rules: {
radix: [0],
'import/extensions': [0],
'import/no-unresolved': [0],
'import/prefer-default-export': [0],
'import/no-dynamic-require': [0],
'import/no-extraneous-dependencies': [0],
'import/no-mutable-exports': [0],
'global-require': [0],
'max-classes-per-file': [0],
'class-methods-use-this': [0],
'no-sequences': [0],
'no-async-promise-executor': [0],
camelcase: [0],
'func-names': [0],
'no-restricted-globals': [0],
'no-nested-ternary': [0],
'no-param-reassign': [0],
'linebreak-style': [0],
'prefer-rest-params': [0],
'no-return-await': [0],
'no-await-in-loop': [0],
'no-underscore-dangle': [0],
'no-console': 0,
'no-alert': 1,
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': 'error',
},
};