Open
Description
I would like to be able to write tables in this manner and it to give me feedback. I personally use space between curlies in map-type of tables, and no space in arrays. I think it would also be nice if an user would define the rule other way around if they want that, since this is just a personal preference:
-- The correct way for me:
local map = { foo = 1 }
local arr = {1, 2, 3, 4}
-- I would like this to give me style-check error:
local map = {foo = 1}
local arr = { 1, 2, 3, 4 }
Mentioned this earlier and reported here as requested:
LuaLS/lua-language-server#2876