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

Add flag to include generated files #152

Merged
merged 1 commit into from
Jun 9, 2024
Merged

Conversation

bombsimon
Copy link
Owner

Support to include generated files for linting when desired. Default is false.

Relates to #148, addresses #148 (comment)

@coveralls
Copy link

Coverage Status

coverage: 93.664% (+0.01%) from 93.651%
when pulling 5f2f06f on flag-for-generated
into cf0fb6d on master.

@ldez
Copy link
Contributor

ldez commented Jun 9, 2024

From the POV of wsl, I think the default to false is the right idea.

Inside golangci-lint, we will not expose this option and turn it to true, to avoid conflict with the autogenerated processor.

@bombsimon bombsimon merged commit 1fc4441 into master Jun 9, 2024
8 checks passed
@bombsimon bombsimon deleted the flag-for-generated branch June 9, 2024 15:15
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