mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 12:32:08 -06:00
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
// Rename this file 'settings.json' or merge its
|
|
// contents into your existing settings.
|
|
{
|
|
// To use the locally built compiler, after 'npm run build':
|
|
// "typescript.tsdk": "built/local"
|
|
|
|
"[typescript][javascript][yaml]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "dprint.dprint"
|
|
},
|
|
|
|
// To ignore commits listed in .git-blame-ignore-revs in GitLens:
|
|
"gitlens.advanced.blame.customArguments": [
|
|
"--ignore-revs-file",
|
|
".git-blame-ignore-revs"
|
|
],
|
|
|
|
// Match eslint-plugin-simple-import-sort in organize/auto-imports.
|
|
"typescript.unstable": {
|
|
"organizeImportsCollation": "unicode",
|
|
"organizeImportsCaseFirst": "upper",
|
|
"organizeImportsIgnoreCase": false,
|
|
"organizeImportsNumericCollation": true
|
|
},
|
|
"javascript.unstable": {
|
|
"organizeImportsCollation": "unicode",
|
|
"organizeImportsCaseFirst": "upper",
|
|
"organizeImportsIgnoreCase": false,
|
|
"organizeImportsNumericCollation": true
|
|
},
|
|
|
|
// These options search the repo recursively and slow down
|
|
// the build task menu. We define our own in tasks.json.
|
|
"typescript.tsc.autoDetect": "off",
|
|
"npm.autoDetect": "off",
|
|
"grunt.autoDetect": "off",
|
|
"jake.autoDetect": "off",
|
|
"gulp.autoDetect": "off"
|
|
}
|