-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
78 lines (78 loc) · 2.25 KB
/
.eslintrc
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"standard-with-typescript"
],
"plugins": [
"@typescript-eslint",
"jsdoc"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
},
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/default-param-last": 0,
"@typescript-eslint/member-delimiter-style": [2, {
"multiline": {
"delimiter": "none",
"requireLast": false
},
"singleline": {
"delimiter": "comma",
"requireLast": false
},
"overrides": {
"typeLiteral": {
"multiline": {
"delimiter": "comma",
"requireLast": true
}
}
}
}],
"@typescript-eslint/no-dynamic-delete": 0,
"@typescript-eslint/no-empty-function": 1,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-for-in-array": 0,
"@typescript-eslint/no-misused-promises": 1,
"@typescript-eslint/no-non-null-assertion": 1,
"@typescript-eslint/no-unused-vars": [2, {
"varsIgnorePattern": "^_"
}],
"@typescript-eslint/prefer-nullish-coalescing": 0,
"@typescript-eslint/promise-function-async": 0,
"@typescript-eslint/restrict-plus-operands": 1,
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/strict-boolean-expressions": 0,
"max-len": [2, { "code": 120, "comments": 150, "ignoreStrings": true }],
"no-case-declarations": 0,
"no-empty": [2, { "allowEmptyCatch": true }],
"no-unused-vars": 0,
"jsdoc/check-param-names": 1,
"jsdoc/check-tag-names": 1,
"jsdoc/check-types": 1,
"jsdoc/newline-after-description": 1,
"jsdoc/require-hyphen-before-param-description": 1,
"jsdoc/require-param": 1,
"jsdoc/require-param-description": 1,
"jsdoc/require-param-name": 1,
"jsdoc/require-param-type": 1,
"jsdoc/require-returns-description": 1,
"jsdoc/require-returns-type": 1
},
"env": {
"browser": false,
"node": true,
"worker": true,
"jest": true
}
}