SquidDev / illuaminate

Very WIP static analysis for Lua
https://squiddev.cc/illuaminate/
BSD 3-Clause "New" or "Revised" License
49 stars 2 forks source link

ignore format:table-trailing #34

Closed Commandcracker closed 2 years ago

Commandcracker commented 2 years ago

is there a way to ignore format:table-trailing ?

i would like to lint something like this without warnings

local foo = {
    bar = "foo",
    foo = "bar"
}

image

SquidDev commented 2 years ago

You can enable/disable linters inside the illuaminate.sexp section. CC:T's is probably the most complete example, but in your case you'd want something like this:

(at /
  (linters -format:table-trailing))