Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 680 Bytes

README.md

File metadata and controls

38 lines (33 loc) · 680 Bytes

llint

How to build

$ brew install haskell-platform
$ make

How to use

./llint a.lua b.lua c.lua
find . -name "*.lua" | xargs ./llint

Analysis

  • global definition
  • masking global definition by local definition
  • duplicated local definition
  • unused local variale
  • too long function
  • redundant step index in for block
  • redundant conditional block
  • inconsistent syntax in table literal
  • empty control block
  • constant conditional expression
  • unused variable
  • use of undefined variable
  • modification of index variable inside loop

Supported Lua Version

5.1 5.2 (module is not fully supported)

License

MIT