diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-12-06 03:53:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 03:53:16 +0000 |
commit | bd5bc1a5db29903bc098995cd9262c4576bf76af (patch) | |
tree | c9214189e0214480fcf6539ad1c6327aef6cbd1c /.vscode | |
parent | fd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff) | |
parent | 23e6fb76319c9ed7c9bcdc3efba39bc5dd38f288 (diff) |
Merge pull request #339 from toasted-nutbread/type-annotations
Type annotations
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" + ] } |