selene-lib 0.30.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
error[unused_variable]: bad1 is assigned a value, but never used
  ┌─ write_only.lua:1:7
  │
1 │ local bad1 = {}
  │       ^^^^
2 │ bad1.x = 1
  │ ---- `bad1` is only getting written to
3 │ bad1.y = 2
  │ ---- `bad1` is only getting written to
4 │ bad1["z"] = 1
  │ ---- `bad1` is only getting written to