From bcd7824c8ccebff1162c549a6130844588ccaad5 Mon Sep 17 00:00:00 2001 From: "J. Lewis" <6710419+lewxdev@users.noreply.github.com> Date: Sun, 21 Jan 2024 12:22:32 -0500 Subject: [PATCH] fix(readme): make example concise VSCode allows you to combine language-specific configurations into one rule. This change follows that convention to improve the clarity here. see: https://code.visualstudio.com/docs/getstarted/settings#_multiple-languagespecific-editor-settings --- README.md | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index c57d0b1..3fa9b4c 100644 --- a/README.md +++ b/README.md @@ -154,31 +154,7 @@ Additionally, we found it that being explicit about which formatter you are usin ```json { - "[css]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[html]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[javascript]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[javascriptreact]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[json]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[markdown]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[typescript]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[typescriptreact]": { - "editor.defaultFormatter": "dbaeumer.vscode-eslint" - }, - "[yaml]": { + "[css][html][javascript][javascriptreact][json][markdown][typescript][typescriptreact][yaml]": { "editor.defaultFormatter": "dbaeumer.vscode-eslint" } } @@ -260,4 +236,4 @@ First, run `npm install` and then `npm run setup-dev`. Then, any time that ESLin ## Incompatible rules -[INCOMPATIBLE_RULES.md](./INCOMPATIBLE_RULES.md) \ No newline at end of file +[INCOMPATIBLE_RULES.md](./INCOMPATIBLE_RULES.md)