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/settings.json | |
parent | fd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff) | |
parent | 23e6fb76319c9ed7c9bcdc3efba39bc5dd38f288 (diff) |
Merge pull request #339 from toasted-nutbread/type-annotations
Type annotations
Diffstat (limited to '.vscode/settings.json')
-rw-r--r-- | .vscode/settings.json | 28 |
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" + ] } |