chore: bath fix lint & site tsc def (#53363)

* fix: revert

* type: update
This commit is contained in:
lijianan 2025-04-03 14:43:59 +08:00 committed by GitHub
parent d2b8b6ac66
commit 17cfb7b28d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ const useStyle = createStyles(({ token }, markPos: [number, number, number, numb
}));
export interface SemanticPreviewProps {
componentName?: string;
componentName: string;
semantics: { name: string; desc: string; version?: string }[];
children: React.ReactElement<any>;
height?: number;

View File

@ -65,6 +65,7 @@ export default antfu(
'react/no-forward-ref': 'off',
'react/no-context-provider': 'off',
'react/no-use-context': 'off',
'react-hooks-extra/no-unnecessary-use-prefix': 'off',
},
},
compat.configs['flat/recommended'],