aboutsummaryrefslogtreecommitdiff
path: root/.vscode/settings.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/settings.json')
-rw-r--r--.vscode/settings.json28
1 files changed, 24 insertions, 4 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 6dea7915..66e83d21 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,11 +1,31 @@
{
"markdown.extension.toc.levels": "1..3",
- "editor.codeActionsOnSave": {
- "source.addMissingImports": true,
- "source.organizeImports": true,
- "source.fixAll.eslint": true,
+ "[javascript]": {
+ "editor.codeActionsOnSave": {
+ "source.addMissingImports": true,
+ "source.organizeImports": true,
+ "source.fixAll.eslint": true
+ },
+ },
+ "[typescript]": {
+ "editor.codeActionsOnSave": {
+ "source.addMissingImports": false,
+ "source.organizeImports": false,
+ "source.fixAll.eslint": true
+ },
},
"eslint.format.enable": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
+ "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"javascript.preferences.importModuleSpecifierEnding": "js",
+ "editor.tabSize": 4,
+ "editor.insertSpaces": true,
+ "eslint.validate": [
+ "javascript",
+ "typescript"
+ ],
+ "files.eol": "\n",
+ "html-validate.validate": [
+ "html"
+ ]
}