feat: Synchronize default VSCode settings (#3833)

This commit is contained in:
Iván Ovejero 2022-08-09 13:55:55 +02:00 committed by GitHub
parent b9fe707cbd
commit 11461fda5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 30 deletions

2
.gitignore vendored
View file

@ -10,7 +10,7 @@ _START_PACKAGE
.env
.vscode/*
!.vscode/extensions.json
!.vscode/suggested.settings.json
!.vscode/settings.default.json
.idea
nodelinter.config.json
packages/*/package-lock.json

View file

@ -1,5 +1,6 @@
{
"recommendations": [
"dangmai.workspace-default-settings",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",

11
.vscode/settings.default.json vendored Normal file
View file

@ -0,0 +1,11 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"search.exclude": {
"node_modules": true,
"dist": true,
"package-lock.json": true
},
"typescript.tsdk": "node_modules/typescript/lib",
"workspace-default-settings.runOnActivation": true
}

View file

@ -1,29 +0,0 @@
{
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"search.exclude": {
"node_modules": true,
"dist": true,
"package-lock.json": true
}
}