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

chore: enable gochecknoinits linter #288

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

G-Rath
Copy link
Collaborator

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

This enables the gochecknoinits linter to strong discourage the usage of init functions as while they do sometimes have their usages (and are even necessary), overuse tends to lead to very brittle code.

Relates to #274

@G-Rath G-Rath mentioned this pull request Nov 14, 2024
46 tasks
@G-Rath G-Rath force-pushed the linting/enable-gochecknoinits branch from 73ea0e7 to 5731be4 Compare December 3, 2024 18:30
@copybara-service copybara-service bot merged commit d08d7bc into google:main Dec 4, 2024
6 of 7 checks passed
@G-Rath G-Rath deleted the linting/enable-gochecknoinits branch December 4, 2024 18:19
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