proud-dentist-22844
06/15/2022, 3:28 AMwide-midnight-78598
06/15/2022, 5:29 AMbitter-ability-32190
06/15/2022, 3:03 PMif you have a tool that does best-effort lint fixes/formatting, but still has issues that are strictly lint, you need to write separate lint + fmt componentsOh this is interesting. Some notes: ⢠You probably want to have the lint rule do just lint things (if possible) so you don't duplicate the work or output ⢠You probably want it to use a different subsystem/option scope or else the output might duplicate the name
proud-dentist-22844
06/15/2022, 3:06 PMansible-lint
will do this. It's primarily a lint tool, but I'm adding the ability for it to reformat / update files. It will only be able to fix a subset of issues however.fmt
), doing just one fmt
implementation will work marvelously.bitter-ability-32190
06/15/2022, 3:09 PMproud-dentist-22844
06/15/2022, 3:09 PMwide-midnight-78598
06/15/2022, 4:49 PMOh this is interesting. Some notes:
⢠You probably want to have the lint rule do just lint things (if possible) so you don't duplicate the work or output
⢠You probably want it to use a different subsystem/option scope or else the output might duplicate the nameYeah, I'll need to look into this a bit - it was all a bit odd having to go back to the previous style - I'm still a bit discombobulated