From 9b5b20f646aeab28cb08c4d0a554126fcde1c3ac Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Tue, 27 Oct 2026 11:03:44 +0100 Subject: [PATCH] desktop: Hard-wrap Markdown --- desktop/.prettierignore | 1 - desktop/.prettierrc | 2 +- desktop/scripts/check-js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/desktop/.prettierignore b/desktop/.prettierignore index 51e75c117..82c79ac46 100644 --- a/desktop/.prettierignore +++ b/desktop/.prettierignore @@ -1,3 +1,2 @@ crates -*.md *.lock diff --git a/desktop/.prettierrc b/desktop/.prettierrc index daa2f1ece..99e78b233 100644 --- a/desktop/.prettierrc +++ b/desktop/.prettierrc @@ -3,6 +3,6 @@ "plugins": ["prettier-plugin-svelte"], "svelteSortOrder": "options-scripts-styles-markup", "bracketSameLine": true, - "proseWrap": "never", + "proseWrap": "always", "htmlWhitespaceSensitivity": "ignore" } diff --git a/desktop/scripts/check-js b/desktop/scripts/check-js index 28af04567..fc3a3c3d7 100755 --- a/desktop/scripts/check-js +++ b/desktop/scripts/check-js @@ -4,4 +4,4 @@ set -e # svelte-check also type-checks the .ts files in tsconfig.json, like tsc would. npx svelte-check --tsconfig tsconfig.json --fail-on-warnings --compiler-warnings options_missing_custom_element:ignore npx eslint --cache --cache-location node_modules/.cache/eslint --max-warnings 0 . -npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" "!crates/**/*" --ignore-path .gitignore --check --cache +npx prettier . --check --cache