49 releases

new 0.6.49-nightly.2 Dec 12, 2024
0.6.49-nightly.0 Nov 26, 2024
0.6.40 Jul 24, 2024

#893 in Programming languages

Download history 231/week @ 2024-08-21 265/week @ 2024-08-28 375/week @ 2024-09-04 102/week @ 2024-09-11 307/week @ 2024-09-18 445/week @ 2024-09-25 582/week @ 2024-10-02 349/week @ 2024-10-09 561/week @ 2024-10-16 67/week @ 2024-10-23 258/week @ 2024-10-30 181/week @ 2024-11-06 26/week @ 2024-11-13 260/week @ 2024-11-20 86/week @ 2024-11-27 112/week @ 2024-12-04

496 downloads per month
Used in 2 crates

MIT/Apache

4MB
98K 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
~425K SLoC