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
x, y = y, x

a = b
b = a

t[1], t[2] = t[2], t[1]

t[1] = t[2]
t[2] = t[1]

foo().a = foo().b
foo().b = foo().a

-- We use a weird hack so this comment might break something, oh no!
a = b
b = a