@joshdb/eslint-config 1.1.0-pr-148.dc48f31.0 → 2.0.0-next.e492223.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/eslint-config.json +159 -21
- package/package.json +13 -13
package/eslint-config.json
CHANGED
|
@@ -2,43 +2,175 @@
|
|
|
2
2
|
"extends": "@sapphire",
|
|
3
3
|
"rules": {
|
|
4
4
|
"@typescript-eslint/class-literal-property-style": "off",
|
|
5
|
-
"@typescript-eslint/dot-notation": [
|
|
5
|
+
"@typescript-eslint/dot-notation": [
|
|
6
|
+
"error",
|
|
7
|
+
{
|
|
8
|
+
"allowPrivateClassPropertyAccess": true,
|
|
9
|
+
"allowProtectedClassPropertyAccess": true
|
|
10
|
+
}
|
|
11
|
+
],
|
|
6
12
|
"@typescript-eslint/member-ordering": [
|
|
7
13
|
"error",
|
|
8
14
|
{
|
|
9
15
|
"default": [
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
+
"signature",
|
|
17
|
+
[
|
|
18
|
+
"public-instance-field",
|
|
19
|
+
"public-decorated-field"
|
|
20
|
+
],
|
|
21
|
+
"public-abstract-field",
|
|
22
|
+
[
|
|
23
|
+
"protected-instance-field",
|
|
24
|
+
"protected-decorated-field"
|
|
25
|
+
],
|
|
26
|
+
"protected-abstract-field",
|
|
27
|
+
[
|
|
28
|
+
"private-instance-field",
|
|
29
|
+
"private-decorated-field"
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
"instance-field",
|
|
33
|
+
"decorated-field"
|
|
34
|
+
],
|
|
35
|
+
"abstract-field",
|
|
16
36
|
"public-constructor",
|
|
17
37
|
"protected-constructor",
|
|
18
38
|
"private-constructor",
|
|
39
|
+
"constructor",
|
|
40
|
+
[
|
|
41
|
+
"public-instance-get",
|
|
42
|
+
"public-decorated-get"
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"public-instance-set",
|
|
46
|
+
"public-decorated-set"
|
|
47
|
+
],
|
|
48
|
+
"public-abstract-get",
|
|
49
|
+
"public-abstract-set",
|
|
50
|
+
[
|
|
51
|
+
"protected-instance-get",
|
|
52
|
+
"protected-decorated-get"
|
|
53
|
+
],
|
|
54
|
+
[
|
|
55
|
+
"protected-instance-set",
|
|
56
|
+
"protected-decorated-set"
|
|
57
|
+
],
|
|
58
|
+
"protected-abstract-get",
|
|
59
|
+
"protected-abstract-set",
|
|
60
|
+
[
|
|
61
|
+
"private-instance-get",
|
|
62
|
+
"private-decorated-get"
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
"private-instance-set",
|
|
66
|
+
"private-decorated-set"
|
|
67
|
+
],
|
|
68
|
+
[
|
|
69
|
+
"instance-get",
|
|
70
|
+
"decorated-get"
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
"instance-set",
|
|
74
|
+
"decorated-set"
|
|
75
|
+
],
|
|
76
|
+
"abstract-get",
|
|
77
|
+
"abstract-set",
|
|
78
|
+
[
|
|
79
|
+
"public-instance-method",
|
|
80
|
+
"public-decorated-method"
|
|
81
|
+
],
|
|
82
|
+
"public-abstract-method",
|
|
83
|
+
[
|
|
84
|
+
"protected-instance-method",
|
|
85
|
+
"protected-decorated-method"
|
|
86
|
+
],
|
|
87
|
+
"protected-abstract-method",
|
|
88
|
+
[
|
|
89
|
+
"private-instance-method",
|
|
90
|
+
"private-decorated-method"
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
"instance-method",
|
|
94
|
+
"decorated-method"
|
|
95
|
+
],
|
|
96
|
+
"abstract-method",
|
|
97
|
+
"public-static-field",
|
|
98
|
+
"protected-static-field",
|
|
99
|
+
"private-static-field",
|
|
100
|
+
"static-field",
|
|
101
|
+
"public-static-get",
|
|
102
|
+
"public-static-set",
|
|
103
|
+
"protected-static-get",
|
|
104
|
+
"protected-static-set",
|
|
105
|
+
"private-static-get",
|
|
106
|
+
"private-static-set",
|
|
107
|
+
"static-get",
|
|
108
|
+
"static-set",
|
|
19
109
|
"public-static-method",
|
|
20
110
|
"protected-static-method",
|
|
21
111
|
"private-static-method",
|
|
22
|
-
"
|
|
23
|
-
"protected-instance-method",
|
|
24
|
-
"private-instance-method"
|
|
112
|
+
"static-method"
|
|
25
113
|
]
|
|
26
114
|
}
|
|
27
115
|
],
|
|
28
116
|
"@typescript-eslint/no-namespace": "off",
|
|
29
|
-
"curly": [
|
|
117
|
+
"curly": [
|
|
118
|
+
"error",
|
|
119
|
+
"all"
|
|
120
|
+
],
|
|
30
121
|
"no-lone-blocks": "error",
|
|
31
122
|
"no-tabs": "error",
|
|
32
123
|
"padding-line-between-statements": [
|
|
33
124
|
"error",
|
|
34
|
-
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
|
|
35
|
-
{ "blankLine": "always", "prev": "*", "next": ["const", "let", "var"] },
|
|
36
|
-
{ "blankLine": "never", "prev": ["const", "let", "var"], "next": ["const", "let", "var"] },
|
|
37
|
-
{ "blankLine": "never", "prev": "case", "next": "case" },
|
|
38
|
-
{ "blankLine": "never", "prev": "for", "next": "for" },
|
|
39
|
-
{ "blankLine": "never", "prev": "if", "next": "if" },
|
|
40
125
|
{
|
|
41
126
|
"blankLine": "always",
|
|
127
|
+
"next": "*",
|
|
128
|
+
"prev": [
|
|
129
|
+
"const",
|
|
130
|
+
"let",
|
|
131
|
+
"var"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"blankLine": "always",
|
|
136
|
+
"next": [
|
|
137
|
+
"const",
|
|
138
|
+
"let",
|
|
139
|
+
"var"
|
|
140
|
+
],
|
|
141
|
+
"prev": "*"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"blankLine": "never",
|
|
145
|
+
"next": [
|
|
146
|
+
"const",
|
|
147
|
+
"let",
|
|
148
|
+
"var"
|
|
149
|
+
],
|
|
150
|
+
"prev": [
|
|
151
|
+
"const",
|
|
152
|
+
"let",
|
|
153
|
+
"var"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"blankLine": "never",
|
|
158
|
+
"next": "case",
|
|
159
|
+
"prev": "case"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"blankLine": "never",
|
|
163
|
+
"next": "for",
|
|
164
|
+
"prev": "for"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"blankLine": "never",
|
|
168
|
+
"next": "if",
|
|
169
|
+
"prev": "if"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"blankLine": "always",
|
|
173
|
+
"next": "*",
|
|
42
174
|
"prev": [
|
|
43
175
|
"block-like",
|
|
44
176
|
"break",
|
|
@@ -53,10 +185,16 @@
|
|
|
53
185
|
"return",
|
|
54
186
|
"switch",
|
|
55
187
|
"try"
|
|
56
|
-
]
|
|
57
|
-
"next": "*"
|
|
188
|
+
]
|
|
58
189
|
},
|
|
59
|
-
{
|
|
190
|
+
{
|
|
191
|
+
"blankLine": "always",
|
|
192
|
+
"next": [
|
|
193
|
+
"case",
|
|
194
|
+
"default"
|
|
195
|
+
],
|
|
196
|
+
"prev": "*"
|
|
197
|
+
}
|
|
60
198
|
]
|
|
61
199
|
}
|
|
62
|
-
}
|
|
200
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joshdb/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-next.e492223.0",
|
|
4
4
|
"description": "Standard ESLint config for the Josh Project",
|
|
5
5
|
"author": "Évelyne Lachance <eslachance@gmail.com> (https://evie.codes/)",
|
|
6
6
|
"contributors": [
|
|
@@ -18,19 +18,19 @@
|
|
|
18
18
|
"check-update": "cliff-jumper --dry-run"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sapphire/eslint-config": "^
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
23
|
-
"@typescript-eslint/parser": "^5.
|
|
24
|
-
"eslint": "^8.
|
|
25
|
-
"eslint-config-prettier": "^
|
|
26
|
-
"eslint-plugin-prettier": "^
|
|
27
|
-
"prettier": "^2.
|
|
28
|
-
"typescript": "^4.
|
|
21
|
+
"@sapphire/eslint-config": "^5.0.4",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
23
|
+
"@typescript-eslint/parser": "^7.5.0",
|
|
24
|
+
"eslint": "^8.57.0",
|
|
25
|
+
"eslint-config-prettier": "^9.1.0",
|
|
26
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
27
|
+
"prettier": "^3.2.5",
|
|
28
|
+
"typescript": "^5.4.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@favware/cliff-jumper": "^
|
|
32
|
-
"typedoc": "^0.
|
|
33
|
-
"typedoc-json-parser": "^
|
|
31
|
+
"@favware/cliff-jumper": "^3.0.1",
|
|
32
|
+
"typedoc": "^0.25.12",
|
|
33
|
+
"typedoc-json-parser": "^9.0.1"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"eslint-config.json"
|
|
41
41
|
],
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=20",
|
|
44
44
|
"npm": ">=7"
|
|
45
45
|
},
|
|
46
46
|
"keywords": [
|