From 6e4eb7c25a3c20eaf9c41baa656420b986348782 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Thu, 24 Aug 2023 15:27:35 +0200 Subject: [PATCH] feat: add Makefile and stylua.toml --- Makefile | 5 +++++ stylua.toml | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 Makefile create mode 100644 stylua.toml diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..dc42169b --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +format: + stylua -v --verify lua/rocks/ + +check: + luacheck lua/ diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 00000000..bb258b9f --- /dev/null +++ b/stylua.toml @@ -0,0 +1,6 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 4 +quote_style = "AutoPreferDouble" +no_call_parentheses = false