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 .env
.vscode/* .vscode/*
!.vscode/extensions.json !.vscode/extensions.json
!.vscode/suggested.settings.json !.vscode/settings.default.json
.idea .idea
nodelinter.config.json nodelinter.config.json
packages/*/package-lock.json packages/*/package-lock.json

View file

@ -1,5 +1,6 @@
{ {
"recommendations": [ "recommendations": [
"dangmai.workspace-default-settings",
"dbaeumer.vscode-eslint", "dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig", "EditorConfig.EditorConfig",
"esbenp.prettier-vscode", "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
}
}