diff options
author | João Moreno <joao.moreno@microsoft.com> | 2020-09-22 15:36:58 +0300 |
---|---|---|
committer | João Moreno <joao.moreno@microsoft.com> | 2020-09-22 15:36:58 +0300 |
commit | 448115e436d9b829a1a181c80737b561ceb49ab3 (patch) | |
tree | d9835da5d6958af2a572c21398af7e19eae21585 /.vscode/settings.json | |
parent | d599b1662b53d8f29ec4e125844f5494730b971f (diff) |
set default formatter for js
Diffstat (limited to '.vscode/settings.json')
-rw-r--r-- | .vscode/settings.json | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index 9239eae0d4d..ec4b9ec2be4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -43,9 +43,7 @@ } ], "eslint.options": { - "rulePaths": [ - "./build/lib/eslint" - ] + "rulePaths": ["./build/lib/eslint"] }, "typescript.tsdk": "node_modules/typescript/lib", "npm.exclude": "**/extensions/**", @@ -55,15 +53,11 @@ "typescript.preferences.quoteStyle": "single", "json.schemas": [ { - "fileMatch": [ - "cgmanifest.json" - ], + "fileMatch": ["cgmanifest.json"], "url": "./.vscode/cgmanifest.schema.json" }, { - "fileMatch": [ - "cglicenses.json" - ], + "fileMatch": ["cglicenses.json"], "url": "./.vscode/cglicenses.schema.json" } ], @@ -76,5 +70,8 @@ "[typescript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, + "[javascript]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, "typescript.tsc.autoDetect": "off" } |