CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 10:42:43 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/"a6a463faa60fe2327cc8f041f69403d7"
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=iLpdqLlUjYPJIZAvx9bYztddySuGn5wjWqZMmzIk%2FZsAzcni3V0WQOEMxqxzU%2BN12VMScFZqJ4v%2FMDaI8lXq3BQyw0VUi1NN%2F4Rzh%2BreYNvTiytjK%2BQF%2BkXb6kbGWwlhnzFo7HUhFBEKtE2QI1Y%2FkPWPt7ndYn26fhg%2FOV497X2aCiYpZrfy7MrtxOcsFS%2F%2Bxgmnr2pn6Ul9De7h1avnXJS65FIbfeiM5rBx1Dr1TGp3xvfz5dtCstUt7MqvVJ8I4mHFBSTKeQXYAdvUKRHBVw%3D%3D--mB8DDwTeQsjSjWFA--k%2Bz4cLsTmaQOMIr9XhGhtw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.651787484.1753958563; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:42:43 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:42:43 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 95FC:DB217:8548DF:A058FA:688B48A3
Breaking: upgrade espree and support new class features (refs #14343)… · eslint/eslint@b953a4e · GitHub
Dismiss banner
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit b953a4e
* update package.json (temporary)
* update ast-utils
- `getFunctionNameWithKind(node)` ... supports class fields and private
identifier. And now it uses property names rather than function names
if named function expressions are methods because the property name
is exposed.
- `getFunctionHeadLoc(node)` ... supports class fields. And now returns
the range of property names instead of the arrow locations if arrow
functions are at method places.
- `isSameReference(l,r)` ... supports `PrivateIdentifier`.
* update camelcase
This commit includes a large refactoring.
Previously, the `Identifier` node listener handled all cases by
checking parent node types. But because the `Identifier` node has so
broad meanings, it's confusing about what kind of nodes it's handling.
Now it uses variables and references of `eslint-scope`. And it checks
properties, re-exported identifiers, and labels by detailed esqueries.
The property check newly supports class fields and private identifiers.
This fixes #13021 as well.
* update accessor-pairs (test-only)
* update class-methods-use-this
* update computed-property-spacing
* update dot-location (test-only)
* update dot-notation (test-only)
* update func-names
Function expressions at field initializers have inferred names.
Therefore the `as-needed` option should not report anonymous functions
at field initializers.
* update getter-return (test-only)
* update grouped-accessor-pairs (test-only)
* update indent
* update keyword-spacing
* update lines-between-class-members (test-only)
* update no-dupe-class-members
* update no-extra-semi
* update no-invalid-this
* update no-multi-assign
* update no-proto (test-only)
* update no-prototype-builtins (test-only)
* update no-restricted-properties (test-only)
* update no-self-assign
* update no-self-compare (test-only)
* update no-setter-return
* update no-shadow (test-only)
* update no-this-before-super (test-only)
* update no-throw-literal (test-only)
* update no-undef-init
* update no-underscore-dangle
* update no-unexpected-multiline (test-only)
* update no-unreachable
* update no-useless-call (test-only)
* update no-useless-computed-key
* update no-eval
* update operator-assignment (test-only)
* update operator-linebreak
* update padded-blocks (test-only)
* update prefer-exponentiation-operator
* update prefer-numeric-literals (test-only)
* update prefer-object-spread (test-only)
* update prefer-promise-reject-errors (test-only)
* update prefer-regex-literals (test-only)
* update prefer-spread (test-only)
* update quotes
* update radix (test-only)
* update require-atomic-updates (test-only)
* update require-unicode-regexp (test-only)
* update semi-spacing
* update semi-style
* update semi
* update space-infix-ops
* update strict (test-only)
* add more tests to no-unexpected-multiline
* fix some tests for 7345747
* fix no-invalid-this
* fix no-eval
* Update eslint-scope
* Upgrade Espree
* Fix eslint-scope references to parser test
* Fix: id-denylist
* Update comments
* Fix: id-match
* Fix: id-length
* Update: id-denylist for class fields
* Update: id-length
* Update: id-denylist code and docs
* Docs: id-denylist
* Update: id-match
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
1 parent 8cce06c commit b953a4eCopy full SHA for b953a4e
File tree
Expand file treeCollapse file tree
88 files changed
+2563
-352
lines changedFilter options
- docs/rules
- lib/rules
- utils
- tests
- fixtures/parsers
- lib/rules
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
88 files changed
+2563
-352
lines changed+34Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
52 | 70 |
| |
53 | 71 |
| |
54 | 72 |
| |
| |||
75 | 93 |
| |
76 | 94 |
| |
77 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
78 | 112 |
| |
79 | 113 |
| |
80 | 114 |
| |
|
+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 |
| |
34 | 37 |
| |
35 | 38 |
| |
| |||
61 | 64 |
| |
62 | 65 |
| |
63 | 66 |
| |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 |
| |
65 | 71 |
| |
66 | 72 |
| |
|
+42-2Lines changed: 42 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
41 | 52 |
| |
42 | 53 |
| |
43 | 54 |
| |
| |||
52 | 63 |
| |
53 | 64 |
| |
54 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
55 | 76 |
| |
56 | 77 |
| |
57 | 78 |
| |
58 | 79 |
| |
59 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
60 | 85 |
| |
61 |
| - | |
62 | 86 |
| |
63 | 87 |
| |
64 | 88 |
| |
| |||
74 | 98 |
| |
75 | 99 |
| |
76 | 100 |
| |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
77 | 117 |
| |
78 | 118 |
| |
79 | 119 |
| |
|
You can’t perform that action at this time.
0 commit comments