From 300b4539bdf747dbe72031d9de4d8eb5f38b8edd Mon Sep 17 00:00:00 2001 From: luaneko Date: Mon, 23 Jun 2025 09:28:04 +1000 Subject: [PATCH] Add rustfmt and stylua configs --- rustfmt.toml | 1 + stylua.toml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 rustfmt.toml create mode 100644 stylua.toml diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..758d417 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +max_width = 100 diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 0000000..d04e235 --- /dev/null +++ b/stylua.toml @@ -0,0 +1,7 @@ +syntax = "LuaJIT" +indent_type = "Spaces" +indent_width = 2 +column_width = 100 +quote_style = "ForceDouble" +call_parentheses = "NoSingleTable" +collapse_simple_statement = "ConditionalOnly"