diff options
| -rw-r--r-- | .dprint.json | 20 | ||||
| -rw-r--r-- | README.md | 16 |
2 files changed, 36 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" + } +} @@ -2,6 +2,22 @@ Schist is a budgeting app. +## Formatting + +Schist is formatted using dprint. + +To install on Mac or Linux, use Homebrew: + +```sh +brew install dprint +``` + +To format the project, run: + +```sh +dprint fmt +``` + ## Links - [Designs](https://design.penpot.app/#/workspace/345886aa-f4d1-8033-8005-670f665094a3/a0a8e792-b2d2-818e-8005-670ffeb32184) |
