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