If it falls into the scope of vala-lint, it would be convenient to be able to autofix issues for which exactly one fix exists, possibly with a --fix flag.
A rudimentary list of such rules would be:
[ ] block-opening-brace-space-before
[x] double-semicolon
[ ] double-spaces
[ ] ellipsis
[ ] no-space
[x] space-before-paren
[ ] use-of-tabs
[x] trailing-newlines
[x] trailing-whitespace
[ ] unnecessary-string-template
Another addition could be --fix-dry-run, which prints the fixed code to stdout instead of writing to the file system.
If it falls into the scope of vala-lint, it would be convenient to be able to autofix issues for which exactly one fix exists, possibly with a
--fix
flag.A rudimentary list of such rules would be:
block-opening-brace-space-before
double-semicolon
double-spaces
ellipsis
no-space
space-before-paren
use-of-tabs
trailing-newlines
trailing-whitespace
unnecessary-string-template
Another addition could be
--fix-dry-run
, which prints the fixed code to stdout instead of writing to the file system.Prior art: ESLint