summaryrefslogtreecommitdiff
path: root/.dprint.json
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2025-07-17 23:00:06 +0100
committerJoe Carstairs <me@joeac.net>2025-07-17 23:11:51 +0100
commit5a75def2f5e9cd5f3421a908505c59ac074dae74 (patch)
tree1769bde608704763b5176830d60dc275fb6a9448 /.dprint.json
parentb8681be6bbac2201779a9e39b6ef8b72e085ef69 (diff)
Add dprint formatter
Diffstat (limited to '.dprint.json')
-rw-r--r--.dprint.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/.dprint.json b/.dprint.json
new file mode 100644
index 0000000..e1b5c04
--- /dev/null
+++ b/.dprint.json
@@ -0,0 +1,20 @@
+{
+ "plugins": [
+ "https://plugins.dprint.dev/markdown-0.19.0.wasm",
+ "https://plugins.dprint.dev/ruff-0.4.2.wasm",
+ "https://plugins.dprint.dev/toml-0.7.0.wasm",
+ "https://plugins.dprint.dev/json-0.20.0.wasm"
+ ],
+
+ "excludes": [
+ "**/target"
+ ],
+ "indentWidth": 4,
+ "lineWidth": 80,
+ "newLineKind": "lf",
+ "useTabs": true,
+
+ "markdown": {
+ "textWrap": "always"
+ }
+}