mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix: update VSCode settings to format js/ts on save (#286)
This commit is contained in:
parent
5fa6e2b280
commit
409602beff
1 changed files with 10 additions and 2 deletions
12
.vscode/settings.json
vendored
12
.vscode/settings.json
vendored
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
"editor.formatOnSave": true,
|
|
||||||
"[scss]": {
|
"[scss]": {
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.stylelint": true
|
"source.fixAll.stylelint": true
|
||||||
|
@ -13,5 +12,14 @@
|
||||||
{
|
{
|
||||||
"pattern": "./packages/*"
|
"pattern": "./packages/*"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"eslint.validate": [
|
||||||
|
"javascript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescript",
|
||||||
|
"typescriptreact",
|
||||||
|
],
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.eslint": true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue