CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 05:49:42 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/"fa83bf97c775a8d0396f14fa8ab72f23"
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=n1piyOey7TCuAJhHkKR96tKdR5AA1rEn9vRhuIUI6FbLXBoU697IAXy1d6rYTbdRnBweGsQ4cij%2F5UAyTWv6rcL64ytzIzUVrX0ajWBsoM%2FeDJAP%2B%2BkA4UifoVD2XZWxMcxJs%2B87QJl6DkCoeeEdBZRMo2bNL1zJQRC69qdO05vTmzMlP9nml99gD%2FWdvJYnlZnr7N%2Fo4iS4kJAfNeimYwrDmDch4rzbmzwLXmCzgMSPKakd2BOngk0PSa11hSr8cxkSmHl9xf8YcwN5VdE5Yg%3D%3D--PeNnl39CR2rwpt%2B7--AUwU1GwrWcxyV22H4z3NoA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1895022.1753940981; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 05:49:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 05:49:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9244:1F4F74:360EC7:4808DC:688B03F5
Fix: preserve formatting when rules are removed from disable directiv… · eslint/eslint@c9efb5f · GitHub
Copy file name to clipboardExpand all lines: lib/linter/apply-disable-directives.js
Copy file name to clipboardExpand all lines: tests/lib/linter/apply-disable-directives.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit c9efb5f
authored
File tree
Expand file treeCollapse file tree
3 files changed
+644
-17
lines changedFilter options
- lib/linter
- tests/lib/linter
Expand file treeCollapse file tree
3 files changed
+644
-17
lines changedlib/linter/apply-disable-directives.js
Copy file name to clipboardExpand all lines: lib/linter/apply-disable-directives.js+80-11Lines changed: 80 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
50 | 66 |
| |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
55 | 76 |
| |
56 | 77 |
| |
57 | 78 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
| 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 | + | |
62 | 131 |
| |
63 | 132 |
| |
64 | 133 |
| |
65 | 134 |
| |
66 | 135 |
| |
67 |
| - | |
68 |
| - | |
| 136 | + | |
| 137 | + | |
69 | 138 |
| |
70 | 139 |
| |
71 | 140 |
| |
|
tests/lib/linter/apply-disable-directives.js
Copy file name to clipboardExpand all lines: tests/lib/linter/apply-disable-directives.js+6-6Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1451 | 1451 |
| |
1452 | 1452 |
| |
1453 | 1453 |
| |
1454 |
| - | |
| 1454 | + | |
1455 | 1455 |
| |
1456 | 1456 |
| |
1457 | 1457 |
| |
| |||
1492 | 1492 |
| |
1493 | 1493 |
| |
1494 | 1494 |
| |
1495 |
| - | |
| 1495 | + | |
1496 | 1496 |
| |
1497 | 1497 |
| |
1498 | 1498 |
| |
| |||
1581 | 1581 |
| |
1582 | 1582 |
| |
1583 | 1583 |
| |
1584 |
| - | |
| 1584 | + | |
1585 | 1585 |
| |
1586 | 1586 |
| |
1587 | 1587 |
| |
| |||
1593 | 1593 |
| |
1594 | 1594 |
| |
1595 | 1595 |
| |
1596 |
| - | |
| 1596 | + | |
1597 | 1597 |
| |
1598 | 1598 |
| |
1599 | 1599 |
| |
| |||
1648 | 1648 |
| |
1649 | 1649 |
| |
1650 | 1650 |
| |
1651 |
| - | |
| 1651 | + | |
1652 | 1652 |
| |
1653 | 1653 |
| |
1654 | 1654 |
| |
| |||
1660 | 1660 |
| |
1661 | 1661 |
| |
1662 | 1662 |
| |
1663 |
| - | |
| 1663 | + | |
1664 | 1664 |
| |
1665 | 1665 |
| |
1666 | 1666 |
| |
|
You can’t perform that action at this time.
0 commit comments