Skip to content

Instantly share code, notes, and snippets.

@aeadedoyin
Created November 13, 2024 19:16
Show Gist options
  • Save aeadedoyin/1be5552f035fc34b1856a3c36d1aed4f to your computer and use it in GitHub Desktop.
Save aeadedoyin/1be5552f035fc34b1856a3c36d1aed4f to your computer and use it in GitHub Desktop.
eslint automation settings for VSCode (.vscode/settings.json)
{
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll": "always"
},
"editor.snippetSuggestions": "inline",
"eslint.useFlatConfig": true,
"eslint.validate": [
"javascript",
"typescript",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml"
],
"javascript.format.semicolons": "remove",
"typescript.format.semicolons": "remove",
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.quoteStyle": "single",
"css.format.enable": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment