0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix: update VSCode settings to format js/ts on save (#286)

This commit is contained in:
Gao Sun 2022-02-25 13:17:40 +08:00 committed by GitHub
parent 5fa6e2b280
commit 409602beff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
.vscode/settings.json vendored
View file

@ -1,6 +1,5 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSave": true,
"[scss]": {
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
@ -13,5 +12,14 @@
{
"pattern": "./packages/*"
}
]
],
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
}
}