This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
forked from abalabahaha/eris
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.yml
91 lines (90 loc) · 1.64 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
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
79
80
81
82
83
84
85
86
87
88
89
90
---
env:
es6: true
node: true
plugins:
- "sort-class-members"
extends: "eslint:recommended"
globals:
BigInt: true
window: true
parserOptions:
ecmaVersion: 2020
rules:
array-bracket-spacing:
- 2
- never
arrow-parens: 2
brace-style:
- 2
- 1tbs
- allowSingleLine: false
comma-dangle:
- 2
- never
curly: 2
eol-last:
- 2
- always
indent:
- 2
- 4
- SwitchCase: 1
ignoreComments: false
keyword-spacing:
- 2
- after: true
overrides:
catch:
after: false
for:
after: false
if:
after: false
switch:
after: false
while:
after: false
no-prototype-builtins: 0
no-trailing-spaces: 2
no-var: 2
object-curly-spacing:
- 2
- never
object-shorthand:
- 2
- consistent-as-needed
prefer-const: 2
quotes:
- 2
- double
require-atomic-updates: 1
semi:
- 2
- always
sort-class-members/sort-class-members:
- 2
- order:
- constructor
- update
- "[alphabetical-getters]"
- "[alphabetical-methods]"
- "[alphabetical-conventional-private-methods]"
- "[everything-else]"
- "[custom-inspect-method]"
- toString
- toJSON
groups:
alphabetical-getters:
- kind: get
sort: alphabetical
alphabetical-methods:
- type: method
sort: alphabetical
alphabetical-conventional-private-methods:
- name: "/_.+/"
type: method
sort: alphabetical
custom-inspect-method:
- name: "[util.inspect.custom]"
type: method