Skip to content

Commit 4bea0d5

Browse files
committed
update docusaurus
1 parent ae9d6b1 commit 4bea0d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

website/eslint.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export default tseslint.config(
1212
eslintPluginImport.flatConfigs.recommended,
1313
...tseslint.configs.strictTypeChecked,
1414
...tseslint.configs.stylisticTypeChecked,
15+
// Uncomment once released - https://github.com/facebook/react/pull/30774
16+
// eslintPluginReactHooks.configs.recommended,
1517
eslintPluginReact.configs.flat.recommended,
1618
eslintPluginPrettierRecommended,
1719
{
@@ -31,12 +33,14 @@ export default tseslint.config(
3133
ignores: ['!.*', 'node_modules', 'dist', 'compiled', 'build', '.docusaurus'],
3234

3335
plugins: {
36+
// Remove once released - https://github.com/facebook/react/pull/30774
3437
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
3538
'react-hooks': eslintPluginReactHooks,
3639
},
3740

3841
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
3942
rules: {
43+
// Remove once released - https://github.com/facebook/react/pull/30774
4044
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
4145
...eslintPluginReactHooks.configs.recommended.rules,
4246

0 commit comments

Comments
 (0)