aboutsummaryrefslogtreecommitdiff
path: root/.stylua.toml
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-08-13 17:12:08 +0800
committerjdhao <jdhao@hotmail.com>2022-08-13 17:12:08 +0800
commit84d73660fa551f85c6a5236950c13b51e9756da4 (patch)
tree1b6729b0113e86aca39ab1deb6faa0bf65a6dbde /.stylua.toml
parenta9cc10b2ef509d842819585c6658b591a77a8648 (diff)
add stylua conf
Diffstat (limited to '.stylua.toml')
-rw-r--r--.stylua.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.stylua.toml b/.stylua.toml
new file mode 100644
index 0000000..f608111
--- /dev/null
+++ b/.stylua.toml
@@ -0,0 +1,6 @@
+# config for stylua, ref: https://github.com/JohnnyMorganz/StyLua
+line_endings = "Unix"
+indent_type = "Spaces"
+indent_width = 2
+quote_style = "AutoPreferDouble"
+no_call_parentheses = true