Skip to content

Commit

Permalink
fix(readme): make example concise
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lewxdev authored Jan 21, 2024
1 parent 3f1d59b commit bcd7824
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down Expand Up @@ -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)
[INCOMPATIBLE_RULES.md](./INCOMPATIBLE_RULES.md)

0 comments on commit bcd7824

Please sign in to comment.