CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 08:02:03 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/"a2d6f4b013456b2508a11df7c825e8f5"
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=DwNSCuOJMdkBVux9dr0MXKosZ9bQ0HOSCN5ApGo95biLk0wZIeMiVN9ujpHuW4aRyIG6wJ%2B6PIVpfzU4eCz%2FwMlmtRj7QDMvHoGQe0sgzWnGgUzAi%2BEopzIhK8HYAd1i32yHvqbqTpmZz27LgADdlegUdcKgwzCrV5yyz3NBqRpi35HAdqHFosR4JUJT7q%2FwiwEWhoiyvgpPg%2FTuFtgpkr3RyNfcezoI%2BDlmBjDZ1txP88GmclswvQDpKUwI0EUZ5gArbK6zQPRn47xxFAYU7g%3D%3D--dMyhUxm5bkg01t%2Fv--UbLjUfwYN3w8D%2FB2Ib1X3g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.536283285.1753948922; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 08:02:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 08:02:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BF3C:F3024:41671B:4B3BBC:688B22FA
feat: support typescript types in accessor rules (#19882) · eslint/eslint@0e957a7 · GitHub
Copy file name to clipboardExpand all lines: docs/src/rules/accessor-pairs.md
Copy file name to clipboardExpand all lines: docs/src/rules/grouped-accessor-pairs.md
Copy file name to clipboardExpand all lines: lib/rules/accessor-pairs.js
Copy file name to clipboardExpand all lines: lib/rules/grouped-accessor-pairs.js
Copy file name to clipboardExpand all lines: lib/rules/utils/ast-utils.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit 0e957a7
File tree
Expand file treeCollapse file tree
8 files changed
+487
-12
lines changedFilter options
- docs/src/rules
- lib
- rules
- utils
- types
- tests/lib/rules
Expand file treeCollapse file tree
8 files changed
+487
-12
lines changeddocs/src/rules/accessor-pairs.md
Copy file name to clipboardExpand all lines: docs/src/rules/accessor-pairs.md+66Lines changed: 66 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| 54 | + | |
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
| |||
273 | 274 |
| |
274 | 275 |
| |
275 | 276 |
| |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
276 | 342 |
| |
277 | 343 |
| |
278 | 344 |
| |
|
docs/src/rules/grouped-accessor-pairs.md
Copy file name to clipboardExpand all lines: docs/src/rules/grouped-accessor-pairs.md+48-2Lines changed: 48 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
156 |
| - | |
| 155 | + | |
| 156 | + | |
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
| 161 | + | |
| 162 | + | |
| 163 | + | |
161 | 164 |
| |
162 | 165 |
| |
163 | 166 |
| |
| |||
308 | 311 |
| |
309 | 312 |
| |
310 | 313 |
| |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
311 | 357 |
| |
312 | 358 |
| |
313 | 359 |
| |
|
lib/rules/accessor-pairs.js
Copy file name to clipboardExpand all lines: lib/rules/accessor-pairs.js+35Lines changed: 35 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
| 151 | + | |
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
| |||
174 | 175 |
| |
175 | 176 |
| |
176 | 177 |
| |
| 178 | + | |
| 179 | + | |
| 180 | + | |
177 | 181 |
| |
178 | 182 |
| |
179 | 183 |
| |
| |||
190 | 194 |
| |
191 | 195 |
| |
192 | 196 |
| |
| 197 | + | |
| 198 | + | |
193 | 199 |
| |
194 | 200 |
| |
195 | 201 |
| |
| |||
198 | 204 |
| |
199 | 205 |
| |
200 | 206 |
| |
| 207 | + | |
201 | 208 |
| |
202 | 209 |
| |
203 | 210 |
| |
| |||
228 | 235 |
| |
229 | 236 |
| |
230 | 237 |
| |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
231 | 247 |
| |
232 | 248 |
| |
233 | 249 |
| |
| |||
371 | 387 |
| |
372 | 388 |
| |
373 | 389 |
| |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
374 | 406 |
| |
375 | 407 |
| |
376 | 408 |
| |
377 | 409 |
| |
378 | 410 |
| |
379 | 411 |
| |
380 | 412 |
| |
| 413 | + | |
| 414 | + | |
| 415 | + | |
381 | 416 |
| |
382 | 417 |
| |
383 | 418 |
| |
|
lib/rules/grouped-accessor-pairs.js
Copy file name to clipboardExpand all lines: lib/rules/grouped-accessor-pairs.js+36-6Lines changed: 36 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
| |||
96 | 98 |
| |
97 | 99 |
| |
98 | 100 |
| |
99 |
| - | |
| 101 | + | |
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
| |||
106 | 108 |
| |
107 | 109 |
| |
108 | 110 |
| |
| 111 | + | |
109 | 112 |
| |
110 |
| - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
111 | 120 |
| |
112 | 121 |
| |
113 | 122 |
| |
| |||
120 | 129 |
| |
121 | 130 |
| |
122 | 131 |
| |
123 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
124 | 135 |
| |
125 | 136 |
| |
126 | 137 |
| |
| |||
135 | 146 |
| |
136 | 147 |
| |
137 | 148 |
| |
138 |
| - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
139 | 155 |
| |
140 | 156 |
| |
141 |
| - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
142 | 160 |
| |
143 | 161 |
| |
144 |
| - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
145 | 165 |
| |
146 | 166 |
| |
147 | 167 |
| |
| |||
232 | 252 |
| |
233 | 253 |
| |
234 | 254 |
| |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
235 | 265 |
| |
236 | 266 |
| |
237 | 267 |
|
lib/rules/utils/ast-utils.js
Copy file name to clipboardExpand all lines: lib/rules/utils/ast-utils.js+19-3Lines changed: 19 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
298 | 298 |
| |
299 | 299 |
| |
300 | 300 |
| |
| 301 | + | |
| 302 | + | |
301 | 303 |
| |
302 | 304 |
| |
303 | 305 |
| |
| |||
1989 | 1991 |
| |
1990 | 1992 |
| |
1991 | 1993 |
| |
1992 |
| - | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
1993 | 1997 |
| |
1994 | 1998 |
| |
1995 | 1999 |
| |
1996 | 2000 |
| |
1997 | 2001 |
| |
1998 |
| - | |
| 2002 | + | |
1999 | 2003 |
| |
2000 | 2004 |
| |
2001 | 2005 |
| |
| |||
2017 | 2021 |
| |
2018 | 2022 |
| |
2019 | 2023 |
| |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
2020 | 2032 |
| |
2021 | 2033 |
| |
2022 | 2034 |
| |
| |||
2042 | 2054 |
| |
2043 | 2055 |
| |
2044 | 2056 |
| |
| 2057 | + | |
| 2058 | + | |
2045 | 2059 |
| |
2046 | 2060 |
| |
2047 | 2061 |
| |
| |||
2154 | 2168 |
| |
2155 | 2169 |
| |
2156 | 2170 |
| |
2157 |
| - | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
2158 | 2174 |
| |
2159 | 2175 |
| |
2160 | 2176 |
| |
|
You can’t perform that action at this time.
0 commit comments