42 releases

new 0.6.47-nightly.4 Oct 20, 2024
0.6.47-nightly.2 Oct 19, 2024
0.6.45-nightly.3 Sep 26, 2024
0.6.42 Aug 22, 2024
0.6.36-nightly.0 Apr 29, 2024

#926 in Programming languages

Download history 310/week @ 2024-06-30 137/week @ 2024-07-07 7/week @ 2024-07-14 145/week @ 2024-07-21 79/week @ 2024-07-28 171/week @ 2024-08-04 165/week @ 2024-08-11 469/week @ 2024-08-18 57/week @ 2024-08-25 539/week @ 2024-09-01 96/week @ 2024-09-08 339/week @ 2024-09-15 300/week @ 2024-09-22 551/week @ 2024-09-29 327/week @ 2024-10-06 591/week @ 2024-10-13

1,799 downloads per month
Used in 2 crates

MIT/Apache

4MB
97K SLoC

erg-linter (WIP)

erg-linter (can be used with erg lint) is a tool to check the erg file for errors.

Features

The following codes are warned.

  • Unreachable codes
  • Wildcard import
  • Shadowing of built-in variables
  • Procedures without side-effects
  • Variables that can be defined as constants
  • Unnecessary .clone
  • Mutable objects that do not change
  • Hardcoded well-known constants (e.g. 3.14)
  • Defining a subroutine with too many parameters
  • Defining a class with too many fields

These are warned by the compiler

  • Unused variables
  • Unused objects that are not NoneLike

Dependencies

~2–28MB
~424K SLoC