chore: add auto format setting

This commit is contained in:
lawvs committed 2022-10-28 15:15:53 +08:00
1 parent 24ce511b59
commit 95f98fb385
2 files changed
+4 -2

No files matched your search

+4 -1
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,
};
};