selene-lib 0.3.0

A library for linting Lua code. You probably want selene instead.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[multiple_statements]: only one statement per line is allowed

   ┌── multiple_statements.lua:6:34 ───
   │
 6 │ table.sort(stuff, function(a, b) local sum = a + b return math.abs(sum) > 2 end)
   │                                  ^^^^^^^^^^^^^^^^^
   │

error[multiple_statements]: only one statement per line is allowed

   ┌── multiple_statements.lua:6:52 ───
   │
 6 │ table.sort(stuff, function(a, b) local sum = a + b return math.abs(sum) > 2 end)
   │                                                    ^^^^^^^^^^^^^^^^^^^^^^^^
   │