diff options
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/extensions.json | 7 | ||||
-rw-r--r-- | .vscode/settings.json | 28 |
2 files changed, 31 insertions, 4 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..a5e24321 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "dbaeumer.vscode-eslint", + "html-validate.vscode-html-validate", + "stylelint.vscode-stylelint" + ] +}
\ No newline at end of file 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" + ] } |