Set react-hooks/exhaustive-deps to error

Suggestion to set the rule react-hooks/exhaustive-deps to error. https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps

Warnings usually gets overlooked and just add to the constant flood of spam that affects the developer experience in a negative way. Therefore we should either care about or ignore the things eslint throws at us, i.e. switch rules to error or turn them off.

In this case the rule seems quite useful so hereby put my vote for Team Care. Sounds okay?

Closes #18 (closed)

Edited by Martin Pedersen

Merge request reports

Loading