CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 09:18:29 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/"50f9f2f3dc04ee101b649a20ba333f79"
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=LjYyxnoJ9uckMiSHn45%2BoDgKpt4CRkf4sT895uUuOrSkbJucrWdb8oQL1s8jqI7KOFme5RoozihjlexOvH%2F8ZWOYmdWCFOuwy%2BXjgwmN9KlODSbG0bjGXquhW42huT6XdO584llrfhziQJq4zXoRNFkKVY%2FiaAV2s2UNPUrlUr5iYnCXBPu37WfktykmVPz6HR%2BDAF3oU8EUCCAzmZmHVJoGRhMouqan0Lsh4dR90XrQ8LExexdgO9Z8COQd6VjmlGUFfoBcpSH9AbC7jdXBWQ%3D%3D--lCx%2BOXrzd3veonkN--kHLyBMd1TJDfiGjJT0WM7w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.211379047.1753953508; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 09:18:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 09:18:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B486:373DAE:6CCA42:853FF2:688B34E4
refactor: SafeEmitter -> SourceCodeVisitor (#19708) · eslint/eslint@7abe42e · GitHub
Copy file name to clipboardExpand all lines: lib/languages/js/source-code/source-code.js
Copy file name to clipboardExpand all lines: lib/linter/code-path-analysis/code-path-analyzer.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit 7abe42e
refactor: SafeEmitter -> SourceCodeVisitor (#19708)
* refactor: NodeEventGenerator -> SourceCodeTraverser
refs #18787
* fix tests
* Remove EventEmitter reference
* Apply feedback
* Update lib/linter/linter.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Remove unnecessary tests
---------
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>1 parent 342bd29 commit 7abe42eCopy full SHA for 7abe42e
File tree
Expand file treeCollapse file tree
11 files changed
+416
-319
lines changedFilter options
- lib
- languages/js/source-code
- linter
- code-path-analysis
- tests/lib/linter
- code-path-analysis
- tools/internal-testers
Expand file treeCollapse file tree
11 files changed
+416
-319
lines changedlib/languages/js/source-code/source-code.js
Copy file name to clipboardExpand all lines: lib/languages/js/source-code/source-code.js+8-24Lines changed: 8 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
| |||
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 42 |
| |
54 | 43 |
| |
55 | 44 |
| |
| |||
1302 | 1291 |
| |
1303 | 1292 |
| |
1304 | 1293 |
| |
1305 |
| - | |
1306 | 1294 |
| |
1307 | 1295 |
| |
1308 | 1296 |
| |
| |||
1322 | 1310 |
| |
1323 | 1311 |
| |
1324 | 1312 |
| |
1325 |
| - | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1326 | 1321 |
| |
1327 | 1322 |
| |
1328 | 1323 |
| |
| |||
1336 | 1331 |
| |
1337 | 1332 |
| |
1338 | 1333 |
| |
1339 |
| - | |
1340 |
| - | |
1341 |
| - | |
1342 |
| - | |
1343 |
| - | |
1344 |
| - | |
1345 |
| - | |
1346 |
| - | |
1347 |
| - | |
1348 |
| - | |
1349 |
| - | |
1350 | 1334 |
| |
1351 | 1335 |
| |
1352 | 1336 |
| |
|
lib/linter/code-path-analysis/code-path-analyzer.js
Copy file name to clipboardExpand all lines: lib/linter/code-path-analysis/code-path-analyzer.js+8-9Lines changed: 8 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
| 199 | + | |
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
| |||
215 | 215 |
| |
216 | 216 |
| |
217 | 217 |
| |
218 |
| - | |
| 218 | + | |
219 | 219 |
| |
220 | 220 |
| |
221 | 221 |
| |
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
| 242 | + | |
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
| |||
416 | 416 |
| |
417 | 417 |
| |
418 | 418 |
| |
419 |
| - | |
| 419 | + | |
420 | 420 |
| |
421 | 421 |
| |
422 | 422 |
| |
| |||
681 | 681 |
| |
682 | 682 |
| |
683 | 683 |
| |
684 |
| - | |
| 684 | + | |
685 | 685 |
| |
686 | 686 |
| |
687 | 687 |
| |
| |||
747 | 747 |
| |
748 | 748 |
| |
749 | 749 |
| |
750 |
| - | |
| 750 | + | |
751 | 751 |
| |
752 | 752 |
| |
753 | 753 |
| |
| |||
816 | 816 |
| |
817 | 817 |
| |
818 | 818 |
| |
819 |
| - | |
820 |
| - | |
| 819 | + | |
821 | 820 |
| |
822 | 821 |
| |
823 | 822 |
| |
824 |
| - | |
| 823 | + | |
825 | 824 |
| |
826 | 825 |
| |
827 | 826 |
| |
|
+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
33 | 32 |
| |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
1175 | 1175 |
| |
1176 | 1176 |
| |
1177 | 1177 |
| |
1178 |
| - | |
| 1178 | + | |
1179 | 1179 |
| |
1180 | 1180 |
| |
1181 | 1181 |
| |
| |||
1339 | 1339 |
| |
1340 | 1340 |
| |
1341 | 1341 |
| |
1342 |
| - | |
| 1342 | + | |
1343 | 1343 |
| |
1344 | 1344 |
| |
1345 | 1345 |
| |
1346 | 1346 |
| |
1347 | 1347 |
| |
1348 |
| - | |
| 1348 | + | |
1349 | 1349 |
| |
1350 | 1350 |
| |
1351 | 1351 |
| |
|
-52Lines changed: 0 additions & 52 deletions
This file was deleted.
You can’t perform that action at this time.
0 commit comments