Skip to content
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

Autofix feature? #1

Open
StevenACoffman opened this issue May 7, 2021 · 2 comments
Open

Autofix feature? #1

StevenACoffman opened this issue May 7, 2021 · 2 comments

Comments

@StevenACoffman
Copy link

Thanks! This is very useful, as is.

I know it is more work, but we have found that linters really shine when they are not only able to point out irritating inconsistencies, but also to autofix them when they can be unambiguously and purely mechanically applied. (For instance, we love gofumpt -w -s ).

@MarioCarrion
Copy link
Owner

Wow! I never received a notification about this issue 😞 .

Anyways, Yes! One of my goals (one day) is to add support for something like you mentioned, and maybe revisit the opinionated way I decided to use for the sections.

@StevenACoffman
Copy link
Author

@MarioCarrion No worries. So right now I use:

I am not aware of a tool that automatically rearranges the function order in the source code. It's kind of a pain to have nit warn about the order, but not just have an autofix option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants