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
There are at least 6 years since the idea of a v2 is here, we should pass this step now.
Important
The focus will be on structural configuration changes and default values changes only (and removing all deprecated options). Because a long tunnel with a massive wishlist to create this release is something we should avoid for multiple reasons.
changes some default values (timeout, cpu quota, etc.)
fixes some field names and types
removes some "prehistorical" flags
🗺️ Plan
There are 3 ways to achieve this v2:
a deprecation phase: this will be slower and more complex (because of the compatibility).
a breaking change (with a migration command): this will be faster and easier but the impact on users could be more important.
a mix of the 2 previous ways.
The choice of the way to achieve this v2 will not be defined based on opinions about those ways: we will know the pros and cons between all those ways.
The choice will be based on technical constraints and how much time the community is ready to give us to do it (cf the Sustainability section).
In all cases, v1 will still be maintained during the v2 development phase.
Work on v2 begins with the opening of this issue.
❤️ Sustainability
This will require a lot of work, and so a lot of time, and where there is time there is money.
First, I would say thanks to the people, who already donated ❤️
Asking for money feels very uncomfortable to me, but I should do it because without that nothing will happen magically.
I will work full-time on this new version, I'm not working for a company, my only revenues are donations.
I've applied to several OSS funding programs but so far without success.
I will continue to look for OSS funding programs, and encourage users to donate, and I will try to find other ways.
Also, I'm not alone: all the active maintainers are a major part of this plan.
As golangci-lint's user what you can do:
Give your feedback on the proposals
Donate ❤️: even 2€ / $2 / 350円 / 15元 / 200₽ per month is important
Will we add a tool or command to facilitate migration from golangci-lint config v1 to v2?
Migrating the configuration from v1 to v2 is a significant challenge for users who are not familiar with golangci-lint. It requires manually reading the release notes, understanding the changes made, and updating the configuration accordingly. Even in v1, there are numerous deprecated settings such as run.skip-dirs, run.skip-files, output.uniq-by-line, and output.format. Additionally, users must manually delete deprecated linters and handle renaming (logrlint to loggercheck, gomnd to mnd, etc.)
To assist users in this migration, I propose creating a command, golangci-lint config migrate, that will handle most of the update process. This tool will streamline the transition and reduce the complexity involved in updating to the latest configuration version.
There are at least 6 years since the idea of a v2 is here, we should pass this step now.
Important
The focus will be on structural configuration changes and default values changes only (and removing all deprecated options). Because a long tunnel with a massive wishlist to create this release is something we should avoid for multiple reasons.
💭 Main Proposals
🗺️ Plan
There are 3 ways to achieve this v2:
The choice of the way to achieve this v2 will not be defined based on opinions about those ways: we will know the pros and cons between all those ways.
The choice will be based on technical constraints and how much time the community is ready to give us to do it (cf the Sustainability section).
In all cases, v1 will still be maintained during the v2 development phase.
Work on v2 begins with the opening of this issue.
❤️ Sustainability
This will require a lot of work, and so a lot of time, and where there is time there is money.
First, I would say thanks to the people, who already donated ❤️
Asking for money feels very uncomfortable to me, but I should do it because without that nothing will happen magically.
I will work full-time on this new version, I'm not working for a company, my only revenues are donations.
I've applied to several OSS funding programs but so far without success.
I will continue to look for OSS funding programs, and encourage users to donate, and I will try to find other ways.
Also, I'm not alone: all the active maintainers are a major part of this plan.
As golangci-lint's user what you can do:
If you want to know who I am: I'm Ludovic (aka LDEZ), I'm 44, and I'm living in a small city in France.
Me
The text was updated successfully, but these errors were encountered: