aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.stylua.toml
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:35 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:35 +0100
commit4ea067d84b13630704392c91b00fc53906337bb6 (patch)
tree8033a121aa3e84539325a0020d74af07bbd913ab /.stylua.toml
parente24c62228c49766935f434192db0d1cb4fdde820 (diff)
downloaddotfiles-4ea067d84b13630704392c91b00fc53906337bb6.tar.gz
dotfiles-4ea067d84b13630704392c91b00fc53906337bb6.tar.bz2
dotfiles-4ea067d84b13630704392c91b00fc53906337bb6.zip
chore: add stylua/selene/prettier config files
Add minimal config for the upcoming fmt/lint recipes: - .stylua.toml: stylua-specific knobs only; indent/line-length/eol continue to come from .editorconfig (stylua reads it natively). - selene.toml + nvim.yml: lua51 base plus a 'vim' global so neovim config files don't get flagged as undefined. - .prettierrc.json: double quotes, trailing commas, 80-col, preserve prose wrap (avoid reflowing markdown). All four ignored by chezmoi so they stay repo-only.
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..6397248
--- /dev/null
+++ b/.stylua.toml
@@ -0,0 +1,6 @@
+column_width = 80
+indent_type = "Spaces"
+indent_width = 2
+quote_style = "AutoPreferDouble"
+call_parentheses = "Always"
+collapse_simple_statement = "Never"