Skip to content

Commit c018deb

Browse files
Minor adjustments and cleanup
1 parent e53b337 commit c018deb

File tree

5 files changed

+495
-47
lines changed

5 files changed

+495
-47
lines changed

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import reactHooksPlugin from 'eslint-plugin-react-hooks';
77

88
export default tseslint.config(
99
{
10-
ignores: ['**/node_modules/**', '**/build/**', '**/dist/**'],
10+
ignores: ['**/node_modules', '**/build', '**/dist'],
1111
},
1212
{
1313
name: 'default',
@@ -97,6 +97,7 @@ export default tseslint.config(
9797
'@typescript-eslint/no-explicit-any': 'off',
9898
'react-hooks/rules-of-hooks': 'error',
9999
'react-hooks/exhaustive-deps': 'error',
100+
'jsx-quotes': 'off', // deprecated rule, handled by prettier anyway
100101
},
101102
},
102103
);

examples/react-example/package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,13 @@
2020
"stream-chat-react": "^13.10.0"
2121
},
2222
"devDependencies": {
23-
"@eslint/js": "^9.36.0",
2423
"@types/node": "^24.6.0",
2524
"@types/react": "^19.1.16",
2625
"@types/react-dom": "^19.1.9",
2726
"@vitejs/plugin-react": "^5.0.4",
28-
"eslint": "^9.36.0",
29-
"eslint-plugin-react-hooks": "^5.2.0",
30-
"eslint-plugin-react-refresh": "^0.4.22",
3127
"globals": "^16.4.0",
3228
"sass-embedded": "^1.93.2",
33-
"typescript": "~5.9.3",
34-
"typescript-eslint": "^8.45.0",
29+
"typescript": "catalog:",
3530
"vite": "catalog:"
3631
}
3732
}

packages/react-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"build": "rimraf ./dist && concurrently 'vite build' 'tsc -p ./tsconfig.lib.json' 'pnpm run build:styles'",
3636
"build:styles": "sass src/styles:dist/styles --no-source-map --style=compressed",
3737
"dev": "concurrently 'vite build --watch' 'tsc -p ./tsconfig.lib.json --watch' 'sass --watch src/styles:dist/styles'",
38-
"prepare": "exit 0;",
38+
"prepublishOnly": "pnpm run build",
3939
"test": ""
4040
},
4141
"keywords": [
@@ -59,9 +59,9 @@
5959
"@types/react": "^18.3.26",
6060
"@types/react-dom": "^18.3.7",
6161
"@types/react-syntax-highlighter": "^15.5.13",
62-
"concurrently": "catalog:",
6362
"rimraf": "^6.0.1",
6463
"sass": "^1.94.2",
64+
"concurrently": "catalog:",
6565
"typescript": "catalog:",
6666
"vite": "catalog:",
6767
"vitest": "catalog:"

packages/react-sdk/src/components/streaming-message.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { AIMarkdown } from './ai-markdown';
2-
import styled from '@emotion/styled';
32

43
import { useEffect, useRef, useState } from 'react';
54

0 commit comments

Comments
 (0)