CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 02:08:57 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/"2ec0a60060e8de602e6478a97f715dda"
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 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=AnBDbhaQ124A%2F%2BMALD9XXhxttH77HGTKMmX9m28tEVs%2F38YSeO%2Fv9acpbzdxMRqr5jB%2Fid0u5PFdZP2DWk6yRE7%2F39LaPUGkddn2lvnyRyhg1sogHmqlR7EOGY9VR9%2FXjFtsx%2FOI0WAk5u5Z4OsSg4%2BI0%2BQwA1KH5t5OYujKkBBt8r33%2FY2xslu33mMWSvyR65D2LZV0JK3paLQmsRIWUGnZZRPR8X08KV8rTxKOeJCqfLpggXsB13ng%2BFvieQ3jes%2BcM42JEa9v5WE77qHtWw%3D%3D--eyUfN13AMXQCmjuR--QyOm5Ka3q1GdfRQP9eFLCw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1243570840.1753754936; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 02:08:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 02:08:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8FD0:3CD0B4:1B7CC9:28F65D:68882D38
Breaking: Fixable disable directives (fixes #11815) (#14617) · eslint/eslint@1d2213d · GitHub


authored
Copy file name to clipboardExpand all lines: docs/developer-guide/nodejs-api.md
Copy file name to clipboardExpand all lines: docs/user-guide/command-line-interface.md
Copy file name to clipboardExpand all lines: lib/cli-engine/cli-engine.js
Copy file name to clipboardExpand all lines: 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 1d2213d
* New: Fixable disable directives
* Part of the way there: not ready yet
* Generally fixed up, and just started on unit tests
* lodash.flatMap
* Merge branch 'master'
* Progress...
* Fixed the remaining pre-existing unit tests
* Fixed up some tests
* unprocessedDirective.parentComment
* Avoided rescan by passing commentToken in parentComment
* A lil edge case
* Fix directive grouping the other direction
* Incorrect state directive reference
* Simplified parentComment / commentToken range
* Use Map in lib/linter/apply-disable-directives.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Used suggestion for individual directives removal
* Boolean in lib/cli-engine/cli-engine.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Docs fixups
* Added tests
* Tests and fix for multiple rule lists
* Remove unused sourceCode from tests
* Added high-level test in linter.js
* Apply suggestions from code review
Co-authored-by: Brandon Mills <btmills@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Added require
* Wrong order...
* Also mention in command-line-interface.md
* Respect disableFixes (not yet tested)
* Fixed up existing tests
* Add unit test for options.disableFixes
* Apply suggestions from code review
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Brandon Mills <btmills@users.noreply.github.com>
1 parent 4a7aab7 commit 1d2213dCopy full SHA for 1d2213d
File tree
Expand file treeCollapse file tree
11 files changed
+1210
-150
lines changedFilter options
- docs
- developer-guide
- user-guide
- lib
- cli-engine
- eslint
- linter
- tests/lib
- cli-engine
- eslint
- linter
Expand file treeCollapse file tree
11 files changed
+1210
-150
lines changeddocs/developer-guide/nodejs-api.md
Copy file name to clipboardExpand all lines: docs/developer-guide/nodejs-api.md+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 |
| - | |
| 151 | + | |
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
|
docs/user-guide/command-line-interface.md
Copy file name to clipboardExpand all lines: docs/user-guide/command-line-interface.md+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
| 50 | + | |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| |||
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
243 |
| - | |
| 243 | + | |
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
| 248 | + | |
248 | 249 |
| |
249 | 250 |
| |
250 | 251 |
| |
|
lib/cli-engine/cli-engine.js
Copy file name to clipboardExpand all lines: lib/cli-engine/cli-engine.js+19-7Lines changed: 19 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
334 | 351 |
| |
335 | 352 |
| |
336 | 353 |
| |
| |||
623 | 640 |
| |
624 | 641 |
| |
625 | 642 |
| |
626 |
| - | |
627 |
| - | |
628 |
| - | |
629 |
| - | |
630 |
| - | |
631 |
| - | |
| 643 | + | |
632 | 644 |
| |
633 | 645 |
| |
634 | 646 |
| |
|
+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
128 |
| - | |
| 128 | + | |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
| |||
237 | 237 |
| |
238 | 238 |
| |
239 | 239 |
| |
240 |
| - | |
| 240 | + | |
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
|
lib/linter/apply-disable-directives.js
Copy file name to clipboardExpand all lines: lib/linter/apply-disable-directives.js+136-23Lines changed: 136 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
| 9 | + | |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
| |||
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 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 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
19 | 138 |
| |
20 | 139 |
| |
21 | 140 |
| |
| |||
82 | 201 |
| |
83 | 202 |
| |
84 | 203 |
| |
85 |
| - | |
86 |
| - | |
87 |
| - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
88 | 211 |
| |
89 |
| - | |
90 |
| - | |
| 212 | + | |
| 213 | + | |
91 | 214 |
| |
92 |
| - | |
93 |
| - | |
| 215 | + | |
| 216 | + | |
94 | 217 |
| |
95 |
| - | |
| 218 | + | |
| 219 | + | |
96 | 220 |
| |
97 | 221 |
| |
98 | 222 |
| |
| |||
113 | 237 |
| |
114 | 238 |
| |
115 | 239 |
| |
| 240 | + | |
116 | 241 |
| |
117 | 242 |
| |
118 | 243 |
| |
119 |
| - | |
| 244 | + | |
120 | 245 |
| |
121 | 246 |
| |
122 | 247 |
| |
123 | 248 |
| |
124 | 249 |
| |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 | 250 |
| |
140 | 251 |
| |
141 | 252 |
| |
| |||
162 | 273 |
| |
163 | 274 |
| |
164 | 275 |
| |
| 276 | + | |
165 | 277 |
| |
166 | 278 |
| |
167 | 279 |
| |
168 | 280 |
| |
169 | 281 |
| |
| 282 | + | |
170 | 283 |
| |
171 | 284 |
| |
172 | 285 |
| |
|
+8-5Lines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
245 |
| - | |
| 245 | + | |
246 | 246 |
| |
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
| 252 | + | |
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
| 260 | + | |
| 261 | + | |
260 | 262 |
| |
261 | 263 |
| |
262 | 264 |
| |
263 | 265 |
| |
264 |
| - | |
| 266 | + | |
265 | 267 |
| |
266 |
| - | |
| 268 | + | |
267 | 269 |
| |
268 | 270 |
| |
269 | 271 |
| |
| |||
340 | 342 |
| |
341 | 343 |
| |
342 | 344 |
| |
343 |
| - | |
| 345 | + | |
344 | 346 |
| |
345 | 347 |
| |
346 | 348 |
| |
| |||
1216 | 1218 |
| |
1217 | 1219 |
| |
1218 | 1220 |
| |
| 1221 | + | |
1219 | 1222 |
| |
1220 | 1223 |
| |
1221 | 1224 |
| |
|
+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
| 154 | + | |
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
|
You can’t perform that action at this time.
0 commit comments