CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 04:59:29 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/"3a07206b66247d58f0ff500ddd7e5f7a"
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=T9b3OBgz4pGxU%2FTmD5GJfFo53S7qxGOjyA5P48Z45S7RQPbFW5KumtSZK3E2qk8wXVcBqU17CPGSihGEGfYqAdyeqWsd5Va5u6%2B%2FhiQr84DJO0jUGd6BBZxvdUmMddLSD7GT6BBxg6gwbp37ydcqHoa1ptuDylbVMnoPgASIEfyY1IUoEs5ZE1JqijW9fzShXSb87Dsw0PjyS2Dh8aIQjiTJ4jJbcClcf7rVRRDFs9%2Fw4VQ2ghLk4kV3T8t91kKglAQ3zyWGwnu9NPlx1wUh9g%3D%3D--S0v%2BMCLsI39pYEOF--pCpu4jcj6r%2BSjiDj6GUWgg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.642832713.1753765169; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 04:59:29 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 04:59:29 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A056:812B8:309452:437371:68885531
Update: enforceForClassFields in class-methods-use-this (refs #14857)… · eslint/eslint@6d1ccb6 · GitHub
Copy file name to clipboardExpand all lines: docs/rules/class-methods-use-this.md
Copy file name to clipboardExpand all lines: lib/rules/class-methods-use-this.js
Copy file name to clipboardExpand all lines: tests/lib/rules/class-methods-use-this.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit 6d1ccb6
* Update: update options in class-methods-use (refs #14857)
* fix default option
* fix review
* fix
* remove unnecessary listener
* Update docs/rules/class-methods-use-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update docs/rules/class-methods-use-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update docs/rules/class-methods-use-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update docs/rules/class-methods-use-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update docs/rules/class-methods-use-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update docs/rules/class-methods-use-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* Update docs/rules/class-methods-use-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* change example order
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
1 parent 91e82f5 commit 6d1ccb6Copy full SHA for 6d1ccb6
File tree
Expand file treeCollapse file tree
3 files changed
+128
-11
lines changedFilter options
- docs/rules
- lib/rules
- tests/lib/rules
Expand file treeCollapse file tree
3 files changed
+128
-11
lines changeddocs/rules/class-methods-use-this.md
Copy file name to clipboardExpand all lines: docs/rules/class-methods-use-this.md+47-2Lines changed: 47 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 |
| |
93 | 98 |
| |
94 | 99 |
| |
| |||
110 | 115 |
| |
111 | 116 |
| |
112 | 117 |
| |
113 |
| - | |
| 118 | + | |
114 | 119 |
| |
115 | 120 |
| |
116 | 121 |
| |
117 | 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 | + | |
118 | 163 |
| |
119 | 164 |
| |
120 | 165 |
| |
|
lib/rules/class-methods-use-this.js
Copy file name to clipboardExpand all lines: lib/rules/class-methods-use-this.js+51-8Lines changed: 51 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 |
| |
37 | 41 |
| |
38 | 42 |
| |
| |||
44 | 48 |
| |
45 | 49 |
| |
46 | 50 |
| |
| 51 | + | |
47 | 52 |
| |
48 | 53 |
| |
49 | 54 |
| |
50 | 55 |
| |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
51 | 72 |
| |
52 | 73 |
| |
53 | 74 |
| |
54 | 75 |
| |
55 | 76 |
| |
56 | 77 |
| |
57 | 78 |
| |
58 |
| - | |
| 79 | + | |
59 | 80 |
| |
60 | 81 |
| |
61 | 82 |
| |
| |||
69 | 90 |
| |
70 | 91 |
| |
71 | 92 |
| |
72 |
| - | |
| 93 | + | |
73 | 94 |
| |
74 | 95 |
| |
75 | 96 |
| |
| |||
82 | 103 |
| |
83 | 104 |
| |
84 | 105 |
| |
85 |
| - | |
86 |
| - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
87 | 119 |
| |
88 | 120 |
| |
89 | 121 |
| |
| |||
95 | 127 |
| |
96 | 128 |
| |
97 | 129 |
| |
98 |
| - | |
| 130 | + | |
99 | 131 |
| |
100 | 132 |
| |
101 | 133 |
| |
| |||
125 | 157 |
| |
126 | 158 |
| |
127 | 159 |
| |
128 |
| - | |
129 |
| - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
130 | 167 |
| |
131 |
| - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
132 | 175 |
| |
133 | 176 |
| |
134 | 177 |
|
tests/lib/rules/class-methods-use-this.js
Copy file name to clipboardExpand all lines: tests/lib/rules/class-methods-use-this.js+30-1Lines changed: 30 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
38 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 |
| |
40 | 46 |
| |
41 | 47 |
| |
| |||
111 | 117 |
| |
112 | 118 |
| |
113 | 119 |
| |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
114 | 129 |
| |
115 | 130 |
| |
116 | 131 |
| |
| |||
174 | 189 |
| |
175 | 190 |
| |
176 | 191 |
| |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
177 | 206 |
| |
178 | 207 |
| |
179 | 208 |
|
You can’t perform that action at this time.
0 commit comments