@eslint-react/eff
Advanced tools
Changelog
v1.21.0 (2024-12-20)
no-useless-custom-hooks
rule by @Rel1cxno-redundant-custom-hook
in favor of no-useless-custom-hooks
(the previous rule will still be available until the next major update to avoid breaking changes)no-useless-custom-hooks
now detects Hook calls within comments and the following code no longer triggers a warning:
// ✅ Good: A Hook that will likely use some other Hooks later
function useAuth() {
// TODO: Replace with this line when authentication is implemented:
// return useContext(Auth);
return TEST_USER;
}