I'd like to use mustache format with https://github.com/numtide/treefmt then linters/formatters need to follow some specs. mustache format does right everyone except:
If, and only if, a file format has changed, the formatter MUST write the new content in place of the original file.
I also check mustache lint makes it right, but I prefer to use mustache format to ignore plugin-id errors.
I'd like to help with a PR, but notice lint and format apps are not so similar in go code.
@uningan Thanks for reaching out. I have no objection against changing the behavior of mustache format such that the target file is only written, if the content changes. I am happy to review a PR.
I'd like to use
mustache format
with https://github.com/numtide/treefmt then linters/formatters need to follow some specs.mustache format
does right everyone except:I also check
mustache lint
makes it right, but I prefer to usemustache format
to ignore plugin-id errors.I'd like to help with a PR, but notice lint and format apps are not so similar in go code.