From e42b52ca73c8df92d71c37dd40980bbde51e5e1e Mon Sep 17 00:00:00 2001 From: Chris Schindlbeck Date: Mon, 8 Jan 2024 09:38:26 +0100 Subject: [PATCH] add luacheck stylua config files --- .luacheckrc | 6 ++++++ stylua.toml | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 .luacheckrc create mode 100644 stylua.toml diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..205c5be --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,6 @@ +globals = { + "vim", +} +-- max_string_line_length = false +max_line_length = 140 +exclude_files = { "**/*example.lua" } diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 0000000..86e1197 --- /dev/null +++ b/stylua.toml @@ -0,0 +1,4 @@ +column_width = 120 +line_endings = "Unix" +# indent_type = "Tabs" +indent_width = 2