Skip to content

Commit 37b606a

Browse files
Python: Bump TypeScript frontend dependencies (microsoft#9230)
* Python: Bump TypeScript frontend dependencies * Python: Restore cross-platform Yarn resolutions
1 parent 4e99842 commit 37b606a

10 files changed

Lines changed: 2689 additions & 1493 deletions

File tree

‎python/packages/devui/frontend/eslint.config.js‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,21 @@ export default tseslint.config([
1212
extends: [
1313
js.configs.recommended,
1414
tseslint.configs.recommended,
15-
reactHooks.configs['recommended-latest'],
1615
reactRefresh.configs.vite,
1716
],
17+
plugins: {
18+
'react-hooks': reactHooks,
19+
},
1820
languageOptions: {
1921
ecmaVersion: 2020,
2022
globals: globals.browser,
2123
},
2224
rules: {
25+
'react-hooks/rules-of-hooks': 'error',
26+
'react-hooks/exhaustive-deps': 'warn',
27+
// Preserve the existing lint policy while moving the ESLint toolchain to v10.
28+
'no-useless-assignment': 'off',
29+
'preserve-caught-error': 'off',
2330
// Allow exporting constants alongside components in specific patterns
2431
// This is common for shadcn/ui components (buttonVariants) and form utilities
2532
'react-refresh/only-export-components': [

0 commit comments

Comments
 (0)