nimlint icon indicating copy to clipboard operation
nimlint copied to clipboard

stylecheck fix

Open timotheecour opened this issue 3 years ago • 1 comments

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

timotheecour avatar Dec 08 '20 18:12 timotheecour