summaryrefslogtreecommitdiff
path: root/.vscode/settings.json
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-12-06 03:53:16 +0000
committerGitHub <noreply@github.com>2023-12-06 03:53:16 +0000
commitbd5bc1a5db29903bc098995cd9262c4576bf76af (patch)
treec9214189e0214480fcf6539ad1c6327aef6cbd1c /.vscode/settings.json
parentfd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff)
parent23e6fb76319c9ed7c9bcdc3efba39bc5dd38f288 (diff)
Merge pull request #339 from toasted-nutbread/type-annotations
Type annotations
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"
+ ]
}