chore: use prettier on typescript files as well
This commit is contained in:
parent
9fbfb7034f
commit
61a7ed5329
2 changed files with 5 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
## editors
|
## editors
|
||||||
/.idea
|
/.idea
|
||||||
## disable this line one commit before changing contents that should be shared
|
## disable this line one commit before changing contents that should be shared
|
||||||
/.vscode
|
# /.vscode
|
||||||
/*.code-workspace
|
/*.code-workspace
|
||||||
/.history
|
/.history
|
||||||
|
|
||||||
|
|
|
||||||
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
|
|
@ -5,5 +5,9 @@
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
},
|
},
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
},
|
||||||
"prettier.prettierPath": "node_modules/prettier"
|
"prettier.prettierPath": "node_modules/prettier"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue