CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 09:16:37 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/eslint/eslint.git
etag: W/"e0844150c520cad420f3a58cc09d141d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=BLPA%2F8DlNp8J1NpshN893fn4f0AwhIxL8OWlAbaJmGLFnpwOJVMmSuYd0PypLqZcrJeeDDmXhFqlA9vtZFyEOlQV0r%2FCpkqEoxTsJ0lOGp1Ata2vPSNBNtFMHKnUSJxy6k2jtvvnge5wCHOSxxZ%2BT4VEDZ4LdB7%2BUgryJzoySDIoKcseOdOAh%2BFDUmRCyjkbMu%2BZIf3DRQ3dbNKhNvxDuqj%2FpJxKVHW2qOg5elOEA5SPFZ89rKR8GucmPT2NVGPCpXywrtW2LMvptlQd1DKYtw%3D%3D--Um9Ov41GdqPxrqCp--b7nU8fgMqrLpQc580r0rPg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1921440440.1753953396; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 09:16:36 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 09:16:36 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C486:2291D2:6D282C:85909B:688B3474
feat: support explicit resource management in core rules (#19828) · eslint/eslint@1245000 · GitHub
Copy file name to clipboardExpand all lines: docs/src/rules/no-await-in-loop.md
Copy file name to clipboardExpand all lines: docs/src/rules/no-unused-vars.md
Copy file name to clipboardExpand all lines: docs/src/rules/require-await.md
Copy file name to clipboardExpand all lines: lib/rules/no-await-in-loop.js
Copy file name to clipboardExpand all lines: lib/rules/no-unused-vars.js
Copy file name to clipboardExpand all lines: lib/rules/prefer-destructuring.js
Copy file name to clipboardExpand all lines: lib/rules/utils/ast-utils.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit 1245000
File tree
Expand file treeCollapse file tree
18 files changed
+347
-5
lines changedFilter options
- docs/src/rules
- lib
- rules
- utils
- types
- tests/lib/rules
Expand file treeCollapse file tree
18 files changed
+347
-5
lines changeddocs/src/rules/no-await-in-loop.md
Copy file name to clipboardExpand all lines: docs/src/rules/no-await-in-loop.md+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
114 | 120 |
| |
115 | 121 |
| |
116 | 122 |
| |
|
docs/src/rules/no-unused-vars.md
Copy file name to clipboardExpand all lines: docs/src/rules/no-unused-vars.md+29Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
| 145 | + | |
145 | 146 |
| |
146 | 147 |
| |
147 | 148 |
| |
| |||
461 | 462 |
| |
462 | 463 |
| |
463 | 464 |
| |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
464 | 493 |
| |
465 | 494 |
| |
466 | 495 |
| |
|
docs/src/rules/require-await.md
Copy file name to clipboardExpand all lines: docs/src/rules/require-await.md+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 |
| |
75 | 80 |
| |
76 | 81 |
| |
|
lib/rules/no-await-in-loop.js
Copy file name to clipboardExpand all lines: lib/rules/no-await-in-loop.js+12-1Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 |
| |
46 | 49 |
| |
47 | 50 |
| |
| |||
76 | 79 |
| |
77 | 80 |
| |
78 | 81 |
| |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
79 | 89 |
| |
80 | 90 |
| |
81 | 91 |
| |
| |||
99 | 109 |
| |
100 | 110 |
| |
101 | 111 |
| |
| 112 | + | |
102 | 113 |
| |
103 | 114 |
| |
104 | 115 |
|
lib/rules/no-unused-vars.js
Copy file name to clipboardExpand all lines: lib/rules/no-unused-vars.js+27Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 |
| |
92 | 95 |
| |
93 | 96 |
| |
| |||
119 | 122 |
| |
120 | 123 |
| |
121 | 124 |
| |
| 125 | + | |
122 | 126 |
| |
123 | 127 |
| |
124 | 128 |
| |
| |||
137 | 141 |
| |
138 | 142 |
| |
139 | 143 |
| |
| 144 | + | |
| 145 | + | |
| 146 | + | |
140 | 147 |
| |
141 | 148 |
| |
142 | 149 |
| |
| |||
357 | 364 |
| |
358 | 365 |
| |
359 | 366 |
| |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
360 | 383 |
| |
361 | 384 |
| |
362 | 385 |
| |
| |||
922 | 945 |
| |
923 | 946 |
| |
924 | 947 |
| |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
925 | 952 |
| |
926 | 953 |
| |
927 | 954 |
| |
|
lib/rules/prefer-destructuring.js
Copy file name to clipboardExpand all lines: lib/rules/prefer-destructuring.js+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
296 | 304 |
| |
297 | 305 |
| |
298 | 306 |
| |
|
+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
173 | 182 |
| |
174 | 183 |
| |
175 | 184 |
|
lib/rules/utils/ast-utils.js
Copy file name to clipboardExpand all lines: lib/rules/utils/ast-utils.js+8-4Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 |
| |
51 | 57 |
| |
52 | 58 |
| |
| |||
2589 | 2595 |
| |
2590 | 2596 |
| |
2591 | 2597 |
| |
2592 |
| - | |
| 2598 | + | |
2593 | 2599 |
| |
2594 | 2600 |
| |
2595 | 2601 |
| |
2596 | 2602 |
| |
2597 | 2603 |
| |
2598 | 2604 |
| |
2599 |
| - | |
2600 |
| - | |
2601 |
| - | |
| 2605 | + | |
2602 | 2606 |
| |
2603 | 2607 |
| |
2604 | 2608 |
| |
|
+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4078 | 4078 |
| |
4079 | 4079 |
| |
4080 | 4080 |
| |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
4081 | 4085 |
| |
4082 | 4086 |
| |
4083 | 4087 |
| |
|
+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
177 | 193 |
| |
178 | 194 |
| |
179 | 195 |
| |
|
You can’t perform that action at this time.
0 commit comments