-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Error: "invalid version of the configuration" #5608
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
Comments
Hello, the field version should be added: https://golangci-lint.run/product/migration-guide/#version version: "2" I recommend using the migration command: https://golangci-lint.run/product/migration-guide/#command-migrate |
This does not seem to be in any of the examples or reference configs |
The field is inside the reference file:
But I can add an extra section about it. |
I created a PR #5609 |
I must have looked at an old snap, sorry.
…On Mon, Mar 24, 2025 at 12:39 PM Ludovic Fernandez ***@***.***> wrote:
I created a PR #5609 <#5609>
—
Reply to this email directly, view it on GitHub
<#5608 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVAJBKO2465FU7YEX332WBNPLAVCNFSM6AAAAABZVWLYB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBZGIYTENRZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: ldez]*ldez* left a comment (golangci/golangci-lint#5608)
<#5608 (comment)>
I created a PR #5609 <#5609>
—
Reply to this email directly, view it on GitHub
<#5608 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVAJBKO2465FU7YEX332WBNPLAVCNFSM6AAAAABZVWLYB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBZGIYTENRZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Welcome
typecheck
section of the FAQ.How did you install golangci-lint?
go install
Description of the problem
I get an error about config version, but I cannot find any docs about it:
Version of golangci-lint
Configuration
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
Doesn't get this far
Validation
Supporter
The text was updated successfully, but these errors were encountered: