Skip to content

New value for a bool config field #4512

Answered by ldez
tmzane asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

I can see several possibilities, one of them is to remove context-only and create a new context.
The new context can be a string with values empty, all, scope1, scope2, etc.

Inside golangci-lint we can create a deprecation for context-only:

  • if false we ignore the option
  • if true we log a warning and check if there is a value inside context, if not we fall back on all.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tmzane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants