From 46d657d02bd59ce04340bed7d2015f6376a087c8 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Fri, 16 Aug 2024 12:48:01 +0200 Subject: [PATCH] Formatting options and ignoring undefined globals error from linter --- .luarc.json | 5 +++++ .stylua.toml | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 .luarc.json create mode 100644 .stylua.toml diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..d226ba8 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,5 @@ +{ + "diagnostics.disable": [ + "undefined-global" + ] +} diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..139e939 --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,6 @@ +column_width = 160 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 2 +quote_style = "AutoPreferSingle" +call_parentheses = "None"