CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 10:14:31 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
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/
referrer-policy: no-referrer-when-downgrade
server-timing: repo_layout-fragment;desc="repo_layout fragment";dur=800.302742,commit_show_contents-fragment;desc="commit_show_contents fragment";dur=57.513799,commit_show_header-fragment;desc="commit_show_header fragment";dur=57.297418,nginx;desc="NGINX";dur=1.244138,glb;desc="GLB";dur=101.577197
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-repository-download: git clone https://github.com/eslint/eslint.git
x-voltron-version: 321f992
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=NiYOUPmanxcqy3%2FLyOVL%2FCyI%2FS3eJ1fCW66kpCNHv7X8GBbOkjDkIDNox5DGR7sKfjjJYpVehi6BcCOab3Fkzr3hWtHaLDG76zYdF0EfGtF2PuQcCNbx%2F9fweI%2FSC7e7bMWL%2BkY%2BG7Qr18UDemuei7d50KnQhmkOtlpJ4qV8Vr9LBbljr2OBlT%2Bq8hhvCHNDCzcJgoQSGI9LMRcXClkr6LzP7zf3%2F1BlmSsQ0e7O6i69zBZ4N4sxuWNBDCdzZmqsWJLFZ9q08II6L6KtNU%2B0Yg%3D%3D--pZkLoDR82eLz1sHQ--WArKejFgVQKwyQYGiWpBvg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1467656676.1753956870; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:14:30 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:14:30 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D9B2:DB217:7CF112:972242:688B4206
feat: add `allowSeparateTypeImports` option to `no-duplicate-imports`… · eslint/eslint@4ab4482 · GitHub
Copy file name to clipboardExpand all lines: docs/src/rules/no-duplicate-imports.md
Copy file name to clipboardExpand all lines: lib/rules/no-duplicate-imports.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit 4ab4482
File tree
Expand file treeCollapse file tree
4 files changed
+533
-8
lines changedFilter options
- docs/src/rules
- lib
- rules
- types
- tests/lib/rules
Expand file treeCollapse file tree
4 files changed
+533
-8
lines changeddocs/src/rules/no-duplicate-imports.md
Copy file name to clipboardExpand all lines: docs/src/rules/no-duplicate-imports.md+62-1Lines changed: 62 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 |
| |
66 | 71 |
| |
67 | 72 |
| |
| |||
110 | 115 |
| |
111 | 116 |
| |
112 | 117 |
| |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + |
lib/rules/no-duplicate-imports.js
Copy file name to clipboardExpand all lines: lib/rules/no-duplicate-imports.js+65-7Lines changed: 65 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| 94 | + | |
94 | 95 |
| |
95 | 96 |
| |
96 |
| - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 |
| |
98 | 103 |
| |
99 | 104 |
| |
100 |
| - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
101 | 121 |
| |
102 | 122 |
| |
103 | 123 |
| |
| |||
136 | 156 |
| |
137 | 157 |
| |
138 | 158 |
| |
| 159 | + | |
139 | 160 |
| |
140 | 161 |
| |
141 | 162 |
| |
| |||
144 | 165 |
| |
145 | 166 |
| |
146 | 167 |
| |
| 168 | + | |
147 | 169 |
| |
148 | 170 |
| |
149 | 171 |
| |
| |||
157 | 179 |
| |
158 | 180 |
| |
159 | 181 |
| |
160 |
| - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
161 | 189 |
| |
162 | 190 |
| |
163 | 191 |
| |
164 |
| - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
165 | 199 |
| |
166 | 200 |
| |
167 | 201 |
| |
168 | 202 |
| |
169 |
| - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
170 | 210 |
| |
171 | 211 |
| |
172 |
| - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
173 | 219 |
| |
174 | 220 |
| |
175 | 221 |
| |
| |||
196 | 242 |
| |
197 | 243 |
| |
198 | 244 |
| |
| 245 | + | |
199 | 246 |
| |
200 | 247 |
| |
201 | 248 |
| |
202 | 249 |
| |
203 | 250 |
| |
204 | 251 |
| |
205 | 252 |
| |
| 253 | + | |
206 | 254 |
| |
207 | 255 |
| |
208 | 256 |
| |
| |||
214 | 262 |
| |
215 | 263 |
| |
216 | 264 |
| |
| 265 | + | |
217 | 266 |
| |
218 | 267 |
| |
219 | 268 |
| |
| |||
231 | 280 |
| |
232 | 281 |
| |
233 | 282 |
| |
| 283 | + | |
| 284 | + | |
234 | 285 |
| |
235 | 286 |
| |
236 | 287 |
| |
237 | 288 |
| |
238 | 289 |
| |
| 290 | + | |
239 | 291 |
| |
240 | 292 |
| |
241 | 293 |
| |
| |||
252 | 304 |
| |
253 | 305 |
| |
254 | 306 |
| |
| 307 | + | |
| 308 | + | |
| 309 | + | |
255 | 310 |
| |
256 | 311 |
| |
257 | 312 |
| |
| |||
266 | 321 |
| |
267 | 322 |
| |
268 | 323 |
| |
269 |
| - | |
| 324 | + | |
270 | 325 |
| |
271 | 326 |
| |
272 | 327 |
| |
273 | 328 |
| |
274 | 329 |
| |
275 | 330 |
| |
276 | 331 |
| |
| 332 | + | |
277 | 333 |
| |
278 | 334 |
| |
279 | 335 |
| |
| |||
283 | 339 |
| |
284 | 340 |
| |
285 | 341 |
| |
| 342 | + | |
286 | 343 |
| |
287 | 344 |
| |
288 | 345 |
| |
289 | 346 |
| |
290 | 347 |
| |
291 | 348 |
| |
| 349 | + | |
292 | 350 |
| |
293 | 351 |
| |
294 | 352 |
| |
|
+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2292 | 2292 |
| |
2293 | 2293 |
| |
2294 | 2294 |
| |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
2295 | 2299 |
| |
2296 | 2300 |
| |
2297 | 2301 |
| |
|
You can’t perform that action at this time.
0 commit comments