Open punithnayak opened 1 year ago
As far as I know these warnings are not because of any sort of liniting mistake they just basically suggest to specify the datatype and add some dependency matix for a few functions to maintain the readability of code tsx Is really useful but it annoys me in this context
@swastik959 So what must be done here
Hey @swastik959 @saranya-jena there are mainly two types of error seen 1)@typescript-eslint/no-explicit-any 2)React Hook useEffect has a missing dependency: 'formikProps'. Either include it or remove the dependency array react-hooks/exhaustive-deps
for the first one, I will try to create a valid interface for the cond use will use one among the listed(https://kinsta.com/knowledgebase/react-hook-useeffect-has-a-missing-dependency/) techniques fine?
@arkajyotiMukherjee Can you comment here?
What happened: There are a bunch of eslint warnings
What you expected to happen: There should be no warnings
Where can this issue be corrected? (optional)
This issue is seen in litmus/chaoscenter/web
How to reproduce it (as minimally and precisely as possible): 1)
cd litmus/chaoscenter/ 2) run
yarn lint `Anything else we need to know?: