CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 07:51:59 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/"10648c9b59ad94369433ba507f1de964"
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=UIA8wW0hS8Cxs08STASXtcr5YKhVXuuA78bAbFrTeG4zsRCyNDdXONCELPl5FZTlsyoMMOZTlXWUdaOaDcZ4rriMJM5sjG4FCcnavOqZy5hggeLdRJYBBSC0zejfXzd5RQlFCYqZjcJ3H8%2BN8O74qnO7wU4JdLsq3u5QbNUj9Jjsv%2FUn6r2fS1U%2BlZnsPkk%2FsarWZ4OJxhW66V1qWn6oIakDpkidHEs%2FnW%2BvKXlsDhOAJgthGymvHxLM%2BWs5K1OKV4K0rRq7isPJIydg8ul0yw%3D%3D--9CSWf%2FJUDmWaa12q--1FFLxivA8MTuZiowQsmW%2Bw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.414200801.1753948318; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 07:51:58 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 07:51:58 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8DEA:111CDC:580DC4:6DD150:688B209E
fix: Refactor reporting into FileReport (#19877) · eslint/eslint@bbf23fa · GitHub
Copy file name to clipboardExpand all lines: lib/linter/file-report.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit bbf23fa
fix: Refactor reporting into FileReport (#19877)
* refactor: Reporting into FileReport
refs #18787
* Remove unused file
* Update tests
* Update lib/linter/linter.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Refactor runRules
* Don't pass language
* Update lib/linter/linter.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update lib/linter/linter.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update lib/linter/linter.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Add back add* method tests
* Fix tests
* Update lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Clean up tests
* Update tests/lib/linter/file-report.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Remove methods, return message from others
* Fix file comments
---------
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>1 parent 74f01a3 commit bbf23faCopy full SHA for bbf23fa
File tree
Expand file treeCollapse file tree
4 files changed
+1277
-758
lines changedFilter options
- lib/linter
- tests/lib/linter
Expand file treeCollapse file tree
4 files changed
+1277
-758
lines changedlib/linter/report-translator.js renamed to lib/linter/file-report.js
Copy file name to clipboardExpand all lines: lib/linter/file-report.js+255-61Lines changed: 255 additions & 61 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 |
| - | |
| 2 | + | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| 23 | + | |
| 24 | + | |
22 | 25 |
| |
23 | 26 |
| |
24 | 27 |
| |
| |||
32 | 35 |
| |
33 | 36 |
| |
34 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
35 | 45 |
| |
36 |
| - | |
| 46 | + | |
37 | 47 |
| |
38 | 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 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
39 | 131 |
| |
40 | 132 |
| |
41 | 133 |
| |
| |||
342 | 434 |
| |
343 | 435 |
| |
344 | 436 |
| |
345 |
| - | |
346 |
| - | |
347 |
| - | |
348 |
| - | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
349 | 442 |
| |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
350 | 451 |
| |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 |
| - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 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 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
357 | 506 |
| |
358 |
| - | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
359 | 534 |
| |
360 |
| - | |
361 |
| - | |
| 535 | + | |
| 536 | + | |
362 | 537 |
| |
363 | 538 |
| |
364 | 539 |
| |
365 |
| - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
366 | 544 |
| |
367 |
| - | |
368 |
| - | |
369 |
| - | |
370 |
| - | |
371 |
| - | |
372 |
| - | |
373 |
| - | |
| 545 | + | |
374 | 546 |
| |
375 |
| - | |
376 |
| - | |
377 |
| - | |
378 |
| - | |
379 |
| - | |
380 |
| - | |
381 |
| - | |
382 |
| - | |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
387 |
| - | |
388 |
| - | |
389 |
| - | |
390 |
| - | |
391 |
| - | |
392 |
| - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
393 | 566 |
| |
394 |
| - | |
| 567 | + | |
| 568 | + | |
395 | 569 |
| |
396 |
| - | |
397 |
| - | |
398 |
| - | |
399 |
| - | |
400 |
| - | |
401 |
| - | |
402 |
| - | |
403 |
| - | |
404 |
| - | |
405 |
| - | |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 |
| - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
414 | 608 |
|
You can’t perform that action at this time.
0 commit comments