-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
51 lines (51 loc) · 1.09 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
root: true
env:
es2022: true
node: true
extends:
- xo
- prettier
overrides:
- extends:
- xo-typescript
- prettier
files:
- '*.ts'
- '*.tsx'
parserOptions:
project:
- 'tsconfig.json'
- 'packages/*/tsconfig.json'
- 'services/*/tsconfig.json'
rules:
'@typescript-eslint/array-type':
- error
- default: generic
'@typescript-eslint/naming-convention':
- error
- selector: default
format:
- camelCase
leadingUnderscore: allow
trailingUnderscore: allow
- selector: import
format:
- camelCase
- PascalCase
- selector: variable
format:
- camelCase
- UPPER_CASE
leadingUnderscore: allow
trailingUnderscore: allow
- selector: typeLike
format:
- PascalCase
- selector: typeParameter
format:
- StrictPascalCase
prefix:
- T
parserOptions:
ecmaVersion: latest
sourceType: module