nimlint
nimlint copied to clipboard
stylecheck fix
refs: https://forum.nim-lang.org/t/7219#45590
It does not convert snakes to camels.
That's not its job, no other comparable tool (gofmt, clang-tidy, etc) does that either.
=> pefect job for nimlint
semantics:
- a lint task:
--styleFix:definition
to convert style of a symbol use to the exact identifier used in the symbol definition (eg:
proc c_printf() = discard
cprintf() # will be changed to c_printf
- a lint task:
--styleFix:caml
that would convert style of all symbols to caml