Skip to content

Commit

Permalink
chore: update linter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Feb 26, 2024
1 parent 18764e3 commit 2538daf
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,31 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,

// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
}
},

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
]
}

0 comments on commit 2538daf

Please sign in to comment.