-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Move .golangci.yaml out of top level directory to reduce clutter #15987
Comments
Please assign this to me, thanks! |
Would be good to confirm the file directory structure, how I understand the current state:
I'm mentioning this to avoid misunderstanding that because yamllint is a Go binary which version is defined in Still I think we need to rethink our whole script/tools/makefile structure as it will get only more complicated. |
Fair point - I'm happy for either Will wait a day or two to see if anyone has different views before I update this issue description in favor of |
Here are some examples for reference.
Overall, the hack directory contains some content that is useful for development projects and can be used to enhance the developer experience. I agree with @serathius 's opinion to move these configuration files to the |
It isn't a big deal, but it makes more sense to get |
The current disagreement between us is whether to move these configuration files to the tools directory or the hack directory. In addition to the above comments, @ahrtr also provided additional comments in another PR review. #15966 (comment)
I think as long as we reach an agreement and write it down in the document, we can follow this plan for the rest of the process. |
Hey @tao12345666333 - For now can you please proceed with moving file to Thanks again for your help getting this work done! 🙏🏻 |
sure |
What would you like to be added?
Sub issue under #15951.
We've recently made efforts to simplify the etcd project top level directory by removing or shifting some configuration files, refer #15778 and #15966 (comment).
The scope of this issue is to move the
.golangci.yaml
configuration file under thetools/
directory.Once moved we then need to update our Makefile so it will pass the
--config
parameter when invokinggolangci-lint run
, i.e:Why is this needed?
Reduce the noise in the top level etcd project directory.
The text was updated successfully, but these errors were encountered: