58 releases

new 0.6.51-nightly.3 Jan 4, 2025
0.6.51-nightly.0 Dec 29, 2024
0.6.49-nightly.0 Nov 26, 2024
0.6.40 Jul 24, 2024

#1685 in Development tools

Download history 313/week @ 2024-09-14 311/week @ 2024-09-21 444/week @ 2024-09-28 429/week @ 2024-10-05 505/week @ 2024-10-12 376/week @ 2024-10-19 33/week @ 2024-10-26 301/week @ 2024-11-02 141/week @ 2024-11-09 162/week @ 2024-11-16 169/week @ 2024-11-23 30/week @ 2024-11-30 317/week @ 2024-12-07 306/week @ 2024-12-14 377/week @ 2024-12-21 226/week @ 2024-12-28

1,227 downloads per month
Used in 2 crates

MIT/Apache

4MB
99K 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