65 releases

new 0.6.53-nightly.0 Feb 18, 2025
0.6.52-nightly.1 Jan 29, 2025
0.6.51-nightly.0 Dec 29, 2024
0.6.49-nightly.0 Nov 26, 2024
0.6.40 Jul 24, 2024

#995 in Programming languages

Download history 210/week @ 2024-10-29 218/week @ 2024-11-05 35/week @ 2024-11-12 185/week @ 2024-11-19 161/week @ 2024-11-26 108/week @ 2024-12-03 457/week @ 2024-12-10 143/week @ 2024-12-17 433/week @ 2024-12-24 342/week @ 2024-12-31 55/week @ 2025-01-07 271/week @ 2025-01-14 27/week @ 2025-01-21 134/week @ 2025-01-28 290/week @ 2025-02-04 32/week @ 2025-02-11

501 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
~392K SLoC