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

refactor: enable predeclared linter #299

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Nov 19, 2024

This enables the predeclared linter which catches variables whose names clash with predeclared identifiers, as that can be confusing.

Currently the only violation was a few variables being named copy which I've renamed to c since they have a very short local lifespan

Relates to #152
Relates to #274

@G-Rath G-Rath mentioned this pull request Nov 19, 2024
46 tasks
@G-Rath G-Rath force-pushed the linting/enable-predeclared branch from fd2e305 to e0768be Compare November 19, 2024 20:06
@copybara-service copybara-service bot merged commit 7ef3529 into google:main Nov 20, 2024
6 of 7 checks passed
@G-Rath G-Rath deleted the linting/enable-predeclared branch December 1, 2024 20:11
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.

2 participants