-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
50 lines (50 loc) · 1.04 KB
/
.eslintrc.yml
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
root: true
parser: '@typescript-eslint/parser'
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
- 'prettier'
plugins:
- '@typescript-eslint'
parserOptions:
sourceType: 'module'
ecmaVersion: 2023
env:
browser: true
node: true
es6: true
rules:
quotes:
- error
- single
- avoidEscape: true
semi:
- error
- always
'comma-dangle':
- error
- never
'func-names':
- error
- as-needed
'lines-between-class-members':
- error
- always
- exceptAfterSingleLine: true
'no-empty':
- error
- allowEmptyCatch: true
'space-before-function-paren':
- error
- anonymous: never
named: never
asyncArrow: always
'import/prefer-default-export': off
'import/no-usesless-path-segments': off
'@typescript-eslint/no-empty-interface':
- error
- allowSingleExtends: true
'@typescript-eslint/no-unused-vars': warn
'@typescript-eslint/semi': error
'@typescript-eslint/no-var-requires': off
'@typescript-eslint/no-inferrable-types': error