Commit 800640a
tools,benchmark,lib,test: enable no-case-declarations lint rule
PR-URL: #41385
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Tierney Cyren <hello@bnb.im>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent dcada80 commit 800640aCopy full SHA for 800640a
File tree
Expand file treeCollapse file tree
26 files changed
+95
-51
lines changedOpen diff view settings
Filter options
- benchmark/zlib
- lib
- internal
- bootstrap/switches
- crypto
- http2
- repl
- util
- test
- addons/worker-addon
- async-hooks
- common
- parallel
- sequential
- tools/doc
Expand file treeCollapse file tree
26 files changed
+95
-51
lines changedOpen diff view settings
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
175 | 175 | |
176 | 176 | |
177 | 177 | |
| 178 | + |
178 | 179 | |
179 | 180 | |
180 | 181 | |
|
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
28 | 29 | |
29 | | - |
| 30 | + |
30 | 31 | |
31 | 32 | |
32 | 33 | |
33 | 34 | |
34 | 35 | |
35 | 36 | |
| 37 | + |
36 | 38 | |
37 | 39 | |
38 | 40 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
411 | 411 | |
412 | 412 | |
413 | 413 | |
414 | | - |
| 414 | + |
415 | 415 | |
416 | 416 | |
417 | 417 | |
| ||
425 | 425 | |
426 | 426 | |
427 | 427 | |
| 428 | + |
428 | 429 | |
429 | 430 | |
430 | 431 | |
|
Collapse file
lib/internal/bootstrap/switches/is_main_thread.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/switches/is_main_thread.js+16-8Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | | - |
| 45 | + |
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | 49 | |
| 50 | + |
50 | 51 | |
51 | | - |
| 52 | + |
52 | 53 | |
53 | 54 | |
54 | 55 | |
55 | 56 | |
| 57 | + |
56 | 58 | |
57 | 59 | |
58 | | - |
| 60 | + |
59 | 61 | |
60 | 62 | |
61 | 63 | |
| ||
78 | 80 | |
79 | 81 | |
80 | 82 | |
| 83 | + |
81 | 84 | |
82 | | - |
| 85 | + |
83 | 86 | |
84 | 87 | |
85 | 88 | |
| ||
88 | 91 | |
89 | 92 | |
90 | 93 | |
| 94 | + |
91 | 95 | |
92 | 96 | |
93 | 97 | |
| ||
147 | 151 | |
148 | 152 | |
149 | 153 | |
150 | | - |
| 154 | + |
151 | 155 | |
152 | 156 | |
153 | 157 | |
| 158 | + |
154 | 159 | |
155 | | - |
| 160 | + |
156 | 161 | |
157 | 162 | |
158 | 163 | |
| 164 | + |
159 | 165 | |
160 | 166 | |
161 | | - |
| 167 | + |
162 | 168 | |
163 | 169 | |
164 | 170 | |
| ||
183 | 189 | |
184 | 190 | |
185 | 191 | |
| 192 | + |
186 | 193 | |
187 | | - |
| 194 | + |
188 | 195 | |
189 | 196 | |
190 | 197 | |
191 | 198 | |
192 | 199 | |
| 200 | + |
193 | 201 | |
194 | 202 | |
195 | 203 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
189 | 189 | |
190 | 190 | |
191 | 191 | |
192 | | - |
| 192 | + |
193 | 193 | |
194 | 194 | |
195 | 195 | |
| ||
206 | 206 | |
207 | 207 | |
208 | 208 | |
| 209 | + |
209 | 210 | |
210 | 211 | |
211 | 212 | |
|
Collapse file
lib/internal/crypto/webcrypto.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/webcrypto.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
427 | 427 | |
428 | 428 | |
429 | 429 | |
430 | | - |
| 430 | + |
431 | 431 | |
432 | 432 | |
433 | 433 | |
| ||
449 | 449 | |
450 | 450 | |
451 | 451 | |
| 452 | + |
452 | 453 | |
453 | 454 | |
454 | 455 | |
|
Collapse file
lib/internal/error_serdes.js
Copy file name to clipboardExpand all lines: lib/internal/error_serdes.js+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
120 | 120 | |
121 | 121 | |
122 | 122 | |
123 | | - |
| 123 | + |
124 | 124 | |
125 | 125 | |
126 | 126 | |
127 | 127 | |
128 | 128 | |
129 | 129 | |
130 | 130 | |
| 131 | + |
131 | 132 | |
132 | 133 | |
133 | | - |
| 134 | + |
134 | 135 | |
135 | 136 | |
136 | 137 | |
137 | 138 | |
| 139 | + |
138 | 140 | |
139 | 141 | |
140 | 142 | |
|
Collapse file
lib/internal/http2/compat.js
Copy file name to clipboardExpand all lines: lib/internal/http2/compat.js+10-5Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
217 | 217 | |
218 | 218 | |
219 | 219 | |
220 | | - |
| 220 | + |
221 | 221 | |
222 | 222 | |
223 | 223 | |
224 | 224 | |
225 | | - |
| 225 | + |
| 226 | + |
226 | 227 | |
227 | 228 | |
228 | 229 | |
229 | 230 | |
| 231 | + |
230 | 232 | |
231 | 233 | |
232 | 234 | |
233 | 235 | |
234 | 236 | |
235 | | - |
| 237 | + |
236 | 238 | |
237 | 239 | |
238 | 240 | |
239 | 241 | |
240 | 242 | |
241 | 243 | |
| 244 | + |
242 | 245 | |
243 | 246 | |
244 | 247 | |
| ||
258 | 261 | |
259 | 262 | |
260 | 263 | |
261 | | - |
| 264 | + |
262 | 265 | |
263 | 266 | |
264 | 267 | |
265 | 268 | |
266 | 269 | |
267 | 270 | |
| 271 | + |
268 | 272 | |
269 | 273 | |
270 | 274 | |
271 | 275 | |
272 | 276 | |
273 | | - |
| 277 | + |
274 | 278 | |
275 | 279 | |
276 | 280 | |
277 | 281 | |
| 282 | + |
278 | 283 | |
279 | 284 | |
280 | 285 | |
|
Collapse file
+10-5Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
867 | 867 | |
868 | 868 | |
869 | 869 | |
870 | | - |
| 870 | + |
871 | 871 | |
872 | 872 | |
873 | 873 | |
874 | 874 | |
875 | 875 | |
876 | 876 | |
877 | 877 | |
| 878 | + |
878 | 879 | |
879 | 880 | |
880 | 881 | |
| ||
901 | 902 | |
902 | 903 | |
903 | 904 | |
904 | | - |
| 905 | + |
905 | 906 | |
906 | 907 | |
907 | 908 | |
908 | 909 | |
909 | 910 | |
| 911 | + |
910 | 912 | |
911 | 913 | |
912 | 914 | |
| ||
1558 | 1560 | |
1559 | 1561 | |
1560 | 1562 | |
1561 | | - |
| 1563 | + |
1562 | 1564 | |
1563 | 1565 | |
1564 | 1566 | |
| 1567 | + |
1565 | 1568 | |
1566 | 1569 | |
1567 | 1570 | |
| ||
3184 | 3187 | |
3185 | 3188 | |
3186 | 3189 | |
3187 | | - |
| 3190 | + |
3188 | 3191 | |
3189 | 3192 | |
3190 | 3193 | |
| ||
3195 | 3198 | |
3196 | 3199 | |
3197 | 3200 | |
3198 | | - |
| 3201 | + |
| 3202 | + |
3199 | 3203 | |
3200 | 3204 | |
3201 | 3205 | |
| ||
3208 | 3212 | |
3209 | 3213 | |
3210 | 3214 | |
| 3215 | + |
3211 | 3216 | |
3212 | 3217 | |
3213 | 3218 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
110 | 110 | |
111 | 111 | |
112 | 112 | |
113 | | - |
| 113 | + |
114 | 114 | |
115 | 115 | |
116 | 116 | |
117 | 117 | |
118 | 118 | |
119 | 119 | |
120 | 120 | |
| 121 | + |
121 | 122 | |
122 | 123 | |
123 | 124 | |
|
0 commit comments