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
13
14
15
16
17
18
error[divide_by_zero]: dividing by zero is not allowed, use math.huge instead
  ┌─ divide_by_zero.lua:2:11
  │
2 │ local _ = 5 / 0
  │           ^^^^^

error[divide_by_zero]: dividing by zero is not allowed, use math.huge instead
  ┌─ divide_by_zero.lua:4:11
  │
4 │ local _ = x / 0
  │           ^^^^^

error[divide_by_zero]: dividing by zero is not allowed, use math.huge instead
  ┌─ divide_by_zero.lua:6:11
  │
6 │ local _ = -1 / 0
  │           ^^^^^^