-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.js
38 lines (36 loc) · 1.01 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
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
globals: {
window: true,
document: true,
module: true,
},
rules: {
'no-fallthrough': 0,
'no-empty': 0,
'no-param-reassign': 0,
'no-redeclare': 'off',
'no-useless-escape': 'off',
'no-case-declarations': 'off',
'no-constant-condition': 'off',
'@typescript-eslint/no-duplicate-enum-values': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-shadow': 0,
'@typescript-eslint/no-parameter-properties': 0,
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-invalid-this': 0,
'@typescript-eslint/no-use-before-define': [
'error',
{ functions: false, classes: false },
],
'@typescript-eslint/no-redeclare': ['error'],
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'none',
ignoreRestSiblings: true,
},
],
},
};