Skip to content
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

feat: no-this-in-static #73

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

otaviomacedo
Copy link
Contributor

New rule that forbid the use of the keywords this and super in static methods.

Useful to prevent bugs like aws/aws-cdk#32454.

@cdklabs-automation cdklabs-automation added this pull request to the merge queue Dec 20, 2024
Merged via the queue into main with commit ac2f54d Dec 20, 2024
5 checks passed
@cdklabs-automation cdklabs-automation deleted the otaviom/no-this-in-static branch December 20, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants