-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
59 lines (59 loc) · 1.87 KB
/
.eslintrc.yaml
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
root: true
parser: '@typescript-eslint/parser'
parserOptions:
project: 'tsconfig.eslint.json'
plugins:
- '@typescript-eslint'
- 'return-types-object-literals'
rules:
'@typescript-eslint/no-redeclare': off
'new-cap': off
'no-case-declarations': off
'no-fallthrough': off
'no-else-return': warn
'no-var': warn
'object-shorthand':
- off
- properties
'array-callback-return': off
'@typescript-eslint/array-type':
- off
- default: array
'return-types-object-literals/require-return-types-for-object-literals': error
'@typescript-eslint/explicit-function-return-type':
- off
- allowExpressions: true
allowTypedFunctionExpressions: true
allowHigherOrderFunctions: true
allowDirectConstAssertionInArrowFunctions: true
allowConciseArrowFunctionExpressionsStartingWithVoid: false
'@typescript-eslint/restrict-template-expressions':
- error
- allowBoolean: true
'@typescript-eslint/no-var-requires': error
'@typescript-eslint/no-non-null-assertion': off
'@typescript-eslint/no-extra-non-null-assertion': off
'@typescript-eslint/promise-function-async': off
'default-param-last': off
'@typescript-eslint/default-param-last': error
'promise/prefer-await-to-callbacks': off
'@typescript-eslint/no-unnecessary-type-assertion': off
'@typescript-eslint/no-misused-promises': off
'@typescript-eslint/strict-boolean-expressions': off
'@typescript-eslint/return-await': off
'@typescript-eslint/no-namespace': off
'@typescript-eslint/no-empty-interface': off
'@typescript-eslint/restrict-plus-operands': error
'@typescript-eslint/consistent-type-assertions': off
'no-unused-vars': off
'@typescript-eslint/no-unused-vars':
- warn
- ignoreRestSiblings: true
args: 'after-used'
argsIgnorePattern: '^_'
varsIgnorePattern: '^_'
extends:
- standard-with-typescript
- prettier
env:
node: true