New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New: Add no-unused-private-class-members rule (fixes #14859) #14895
New: Add no-unused-private-class-members rule (fixes #14859) #14895
Commits on Aug 6, 2021
-
New: Report unused private class members (fixes eslint#14859)
For any private class property or method, report those that are unused. Since private class members can only be accessed in the same class body, we can safely assume that all usages are processed when we leave the ClassBody scope.
Configuration menu - View commit details
-
Copy full SHA for 8b2d49f - Browse repository at this point
Copy the full SHA 8b2d49fView commit details
Commits on Oct 1, 2021
-
Handle all edge cases per feedback
Also remove the rule from recommended for now, as that is a breaking change.
Configuration menu - View commit details
-
Copy full SHA for 4c9f57a - Browse repository at this point
Copy the full SHA 4c9f57aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d253c4e - Browse repository at this point
Copy the full SHA d253c4eView commit details -
Optimize check for property deletion
This also removes the usage of optional chaining, which isn't supported yet on Node environments that ESLint supports.
Configuration menu - View commit details
-
Copy full SHA for 1853675 - Browse repository at this point
Copy the full SHA 1853675View commit details
Commits on Oct 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 71d7a9b - Browse repository at this point
Copy the full SHA 71d7a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e1102 - Browse repository at this point
Copy the full SHA 72e1102View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd7404 - Browse repository at this point
Copy the full SHA 6dd7404View commit details
Commits on Oct 14, 2021
-
Apply suggestions from code review
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 855484b - Browse repository at this point
Copy the full SHA 855484bView commit details -
Update lib/rules/no-unused-private-class-members.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5b6b934 - Browse repository at this point
Copy the full SHA 5b6b934View commit details -
Configuration menu - View commit details
-
Copy full SHA for 273cbf6 - Browse repository at this point
Copy the full SHA 273cbf6View commit details
Commits on Oct 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 73dbc7f - Browse repository at this point
Copy the full SHA 73dbc7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5433a35 - Browse repository at this point
Copy the full SHA 5433a35View commit details