You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Myself and others on my team have run golangci-lint with issues.exclude-files, issues.exclude-dirs, issues.exclude, issues.exclude-rules, and many other configurations with the generated files path addressed, but the gen/ folder is still being linted and failing, even though the files within them are currently standalone.
From my read of the docs, these files should be skipped with the default exclude-generated tag being lax and with // Code generated by protoc-gen-connect-go. DO NOT EDIT. at the top of the file.
Nonetheless, the files are not being skipped and yielding the outputs below.
This problem did not exist on an instance of v1.54.
Version of golangci-lint
$ golangci-lint --versiongolangci-lint has version 1.61.0 built with go1.23.1 from a1d6c56 on 2024-09-09T14:33:19Z
Welcome
typecheck
section of the FAQ.Description of the problem
Myself and others on my team have run
golangci-lint
withissues.exclude-files
,issues.exclude-dirs
,issues.exclude
,issues.exclude-rules
, and many other configurations with the generated files path addressed, but thegen/
folder is still being linted and failing, even though the files within them are currently standalone.From my read of the docs, these files should be skipped with the default
exclude-generated
tag beinglax
and with// Code generated by protoc-gen-connect-go. DO NOT EDIT.
at the top of the file.Nonetheless, the files are not being skipped and yielding the outputs below.
This problem did not exist on an instance of v1.54.
Version of golangci-lint
Configuration
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
Validation
Supporter
The text was updated successfully, but these errors were encountered: