aboutsummaryrefslogtreecommitdiff
path: root/biome.json
diff options
context:
space:
mode:
authorMaheshtheDev <[email protected]>2025-08-29 19:45:47 +0000
committerMaheshtheDev <[email protected]>2025-08-29 19:45:47 +0000
commit5b7f9ceb44decc088c7db7c50756bae55f019558 (patch)
tree63f2503bc519acba0f5a169be50edd749ca06747 /biome.json
parentAdd claude GitHub actions 1756491853286 (#397) (diff)
downloadsupermemory-mahesh/streamdown-integration.tar.xz
supermemory-mahesh/streamdown-integration.zip
feat: migrate from react-markdown to streamdown (#394)mahesh/streamdown-integration
| Before (react-markdown) | After (streamdown) | | --- | --- | | <img width="300" height="863" alt="Before: react-markdown rendering" src="https://github.com/user-attachments/assets/807d0d3c-8634-45f3-a34f-79dd8139bef2" /> | <img width="300" height="814" alt="After: streamdown rendering" src="https://github.com/user-attachments/assets/8a718a9c-d842-424b-8679-15036076b142" /> | ## Changes Made - **Dependencies**: Removed `react-markdown` and `remark-gfm`, added `streamdown@^1.1.6` - **Component Updates**: - Updated chat message rendering to use `<Streamdown>` component - Maintained all existing functionality for tool state rendering - Preserved prose styling classes for consistent appearance - **Code Quality Improvements**: - Fixed TypeScript type issues with message parts - Improved switch case structure with proper default cases - Replaced array index-based keys with stable message-based keys - Added `useCallback` for performance optimization - Fixed biome linting issues and switch case fallthrough warnings
Diffstat (limited to 'biome.json')
-rw-r--r--biome.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/biome.json b/biome.json
index 9519c53e..5dc4d50f 100644
--- a/biome.json
+++ b/biome.json
@@ -1,5 +1,5 @@
{
- "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
+ "$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
"assist": {
"actions": {
"source": {
@@ -39,7 +39,7 @@
"javascript": {
"formatter": {
"quoteStyle": "double",
- "semicolons": "asNeeded"
+ "semicolons": "always"
}
},
"linter": {
@@ -58,7 +58,7 @@
"ignoreRestSiblings": true
}
},
- "useExhaustiveDependencies": "warn",
+ "useExhaustiveDependencies": "off",
"noUnusedImports": "warn"
},
"recommended": true,