diff --git a/.config/panache.toml b/.config/panache.toml new file mode 100644 index 0000000..a385616 --- /dev/null +++ b/.config/panache.toml @@ -0,0 +1,15 @@ +flavor = "quarto" +exclude = [".git/", ".github/", "LICENSE.md", "README.md"] + +[format] +tab-width = 2 + +[linters] +r = "jarl" +python = "ruff" +rust = "clippy" + +[formatters] +r = "air" +python = "ruff" +rust = "rustfmt" diff --git a/.config/rumdl.toml b/.config/rumdl.toml new file mode 100644 index 0000000..1507832 --- /dev/null +++ b/.config/rumdl.toml @@ -0,0 +1,30 @@ +[global] +flavor = "quarto" +exclude = [ + # Common directories to exclude + ".github", + # This is autogenerated from the `.qmd` version + "**/README.md", + # This has its own structure + "**/LICENSE.md", + # `_badges.qmd` gets mangled by rumdl + "**/_badges.qmd", +] + +# List style: `-` +[MD004] +style = "dash" + +# Wrap list items +[MD032] +allow-lazy-continuation = false + +# Reflow text +[MD013] +reflow = true +reflow-mode = "normalize" + +# Fix tables and their separator row +[MD060] +enabled = true +style = "aligned-no-space" diff --git a/.editorconfig b/.editorconfig index 8115fdc..412b8f1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,4 +14,4 @@ max_line_length = 88 # Have a bit shorter line length for text docs [*.{txt,md,qmd}] -max_line_length = 72 +max_line_length = 80 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index f8a579e..b08b626 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -13,7 +13,8 @@ "tekumara.typos-vscode", "EditorConfig.EditorConfig", "samuelcolvin.jinjahtml", - "rvben.rumdl" + "rvben.rumdl", + "jolars.panache" ], "unwantedRecommendations": [] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 66cf316..678003d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,7 +16,7 @@ ], "conventional-branch.format": "{Type}/{Branch}", "[quarto][qmd][md][jinja]": { - "editor.defaultFormatter": "rvben.rumdl" + "editor.defaultFormatter": "jolars.panache" }, "files.associations": { "justfile.jinja": "plaintext",