Rules of hooks/exhaustive deps linting TypeScript

Hi there,

I am creating an Expo project using the Expo TypeScript “blank” template.
Being used to ReactJS and really have embraced the “rules-of-hooks” and “exhaustive-deps” linting I feel I really miss them in my Expo project. Is there a simple way to get this working?

I did follow this guide to get my requested lint rules working. But that messes up other linting settings (such as imports used as JSX are flagged as an unused import) which are very annoying:

This is what I use

  1. SDK Version: 37.0.9
  2. Expo-Cli Version: 3.20.3

Any advice is much appricated.
Thanks in advance.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.