@@ -93,15 +93,20 @@ export function react(options: OptionsReact = {}): TypedFlatConfigItem[] {
9393 '@eslint-react/no-implicit-key' : 'error' ,
9494 '@eslint-react/no-missing-component-display-name' : 'error' ,
9595 '@eslint-react/no-unstable-context-value' : 'error' ,
96- '@eslint-react/dom/no-void-elements-with-children' : 'error' ,
96+
9797 // Update as of 2021: All current versions of major browsers now automatically use the
9898 // behavior of rel="noopener" for any target="_blank" link, nullifying this issue.
9999 // See: https://chromestatus.com/feature/6140064063029248.
100100 // See: https://stackoverflow.com/a/50709724
101101 '@eslint-react/dom/no-unsafe-target-blank' : 'off' ,
102+ '@eslint-react/dom/no-void-elements-with-children' : 'error' ,
103+
104+ '@eslint-react/web-api/no-leaked-event-listener' : 'error' ,
102105 '@eslint-react/web-api/no-leaked-interval' : 'error' ,
103106 '@eslint-react/web-api/no-leaked-resize-observer' : 'error' ,
104107 '@eslint-react/web-api/no-leaked-timeout' : 'error' ,
108+
109+ '@eslint-react/hooks-extra/no-unnecessary-use-callback' : 'error' ,
105110 '@eslint-react/hooks-extra/no-unnecessary-use-memo' : 'error' ,
106111 '@eslint-react/hooks-extra/no-useless-custom-hooks' : 'error' ,
107112 '@eslint-react/hooks-extra/no-direct-set-state-in-use-effect' : 'error' ,
0 commit comments