From 327637a0a412475840fe1f4db16164eb277d01ef Mon Sep 17 00:00:00 2001 From: Jason Williscroft Date: Thu, 25 Apr 2024 21:28:18 +0800 Subject: [PATCH] bounded editor word wrap for markdown --- .prettierrc.json | 6 +++--- .vscode/settings.json | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 2e75e29..1c9c474 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,4 +1,4 @@ { - "singleQuote": true, - "endOfLine": "crlf" -} \ No newline at end of file + "endOfLine": "crlf", + "singleQuote": true +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 1f07b0d..24f06f0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,12 @@ { + "[markdown]": { + "editor.wordWrap": "bounded" + }, "diffEditor.ignoreTrimWhitespace": false, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnPaste": true, "editor.formatOnSave": true, + "eslint.experimental.useFlatConfig": true, "git.autofetch": true, "git.enableSmartCommit": true, "javascript.preferences.importModuleSpecifierEnding": "minimal", @@ -12,7 +16,5 @@ "--no-warnings=ExperimentalWarning", "--experimental-specifier-resolution=node" ], - "testExplorer.mergeSuites": true, - "eslint.experimental.useFlatConfig": true + "testExplorer.mergeSuites": true } -