chore: add auto format setting

This commit is contained in:
lawvs
2022-10-28 15:15:53 +08:00
parent 24ce511b59
commit 95f98fb385
2 changed files with 5 additions and 3 deletions
+5 -2
View File
@@ -1,3 +1,6 @@
{
"eslint.packageManager": "pnpm"
}
"eslint.packageManager": "pnpm",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file"
}
-1
View File
@@ -159,6 +159,5 @@ export const globalThemeVariables: (
'--affine-tooltip-color': theme.colors.tooltipColor,
'--affine-tooltip-background': theme.colors.tooltipBackground,
};
};