forked from abalabahaha/eris
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.ts.yml
67 lines (67 loc) · 1.6 KB
/
.eslintrc.ts.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
extends:
- "./.eslintrc.yml"
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
rules:
"@typescript-eslint/indent":
- 2
- 2
- SwitchCase: 1
ignoreComments: false
"@typescript-eslint/member-delimiter-style": 2
"@typescript-eslint/no-explicit-any": 0
"@typescript-eslint/consistent-type-definitions": 2
"@typescript-eslint/semi":
- 2
- always
"@typescript-eslint/ban-ts-comment":
- 2
- ts-expect-error: allow-with-description
ts-ignore: allow-with-description
indent: 0
keyword-spacing:
- 2
- after: true
object-curly-spacing:
- 2
- always
semi: 0
sort-class-members/sort-class-members:
- 2
- order:
- "[screaming-snake-case-static-properties]"
- "[alphabetical-static-properties]"
- "[alphabetical-properties]"
- constructor
- "[alphabetical-static-methods]"
- "[alphabetical-methods]"
- 'on'
- "[everything-else]"
- "[custom-inspect-method]"
- toString
- toJSON
groups:
screaming-snake-case-static-properties:
- name: "/^[A-Z_0-9]+$/"
type: property
static: true
alphabetical-static-properties:
- type: property
sort: alphabetical
static: true
alphabetical-static-methods:
- type: method
sort: alphabetical
static: true
alphabetical-methods:
- type: method
sort: alphabetical
static: false
alphabetical-properties:
- type: property
sort: alphabetical
static: false
custom-inspect-method:
- name: "[util.inspect.custom]"
type: method