Skip to content

Commit

Permalink
docs: VS Code config example (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallswain committed Jul 10, 2023
1 parent 2ed8536 commit 1b25322
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Expand Up @@ -54,24 +54,24 @@ Add the following settings to your `settings.json`:
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": false,

// The following is optional.
// It's better to put under project setting `.vscode/settings.json`
// to avoid conflicts with working with different eslint configs
// that does not support all formats.
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
]
}
},

// The following is optional.
// It's better to put under project setting `.vscode/settings.json`
// to avoid conflicts with working with different eslint configs
// that does not support all formats.
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
]
}
```

Expand Down

0 comments on commit 1b25322

Please sign in to comment.