Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: add auto format setting

lawvs95f98fb3852c
diff --git a/.vscode/settings.json b/.vscode/settings.json
index a565aa8dc9..784f0f182b 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,3 +1,6 @@
{
- "eslint.packageManager": "pnpm"
-}
\ No newline at end of file
+ "eslint.packageManager": "pnpm",
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true,
+ "editor.formatOnSaveMode": "file"
+}
diff --git a/packages/app/src/styles/theme.ts b/packages/app/src/styles/theme.ts
index e91bc40402..8ebafce72e 100644
--- a/packages/app/src/styles/theme.ts
+++ b/packages/app/src/styles/theme.ts
@@ -159,6 +159,5 @@ export const globalThemeVariables: (
'--affine-tooltip-color': theme.colors.tooltipColor,
'--affine-tooltip-background': theme.colors.tooltipBackground,
-
};
};