13 releases

new 0.6.40-nightly.1 Jul 7, 2024
0.6.40-nightly.0 Jul 5, 2024
0.6.39-nightly.1 Jun 19, 2024
0.6.37 May 24, 2024
0.6.36-nightly.0 Apr 29, 2024

#700 in Programming languages

Download history 106/week @ 2024-04-10 242/week @ 2024-04-24 296/week @ 2024-05-01 74/week @ 2024-05-08 12/week @ 2024-05-15 140/week @ 2024-05-22 17/week @ 2024-05-29 10/week @ 2024-06-05 271/week @ 2024-06-12 137/week @ 2024-06-19 181/week @ 2024-06-26

601 downloads per month
Used in 2 crates

MIT/Apache

3.5MB
90K 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–11MB
~123K SLoC