Open timotheecour opened 3 years ago
Ideas for things that should produce warning or error or autofix:
distinct tuple
type should be a code smell.Positive
and Natural
as return type should be a code smell.try
blocks with >5 except
branches produce 1 warning, with >10 except
branches produce 1 error.var x: range[-128..128]
suggest using int8
instead.
refs: https://forum.nim-lang.org/t/7219#45590
=> 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:a lint task:
--styleFix:caml
that would convert style of all symbols to caml