Hi all,
I was wondering how I need to configure the rule functional/functional-parameters so that it wouldn't be triggered in React-Hooks such as useEffect ? In my case I'm having
useEffect(() => { // Warning: Functions must have at least one parameter
...
}, [myVar]);
and .eslintrc is set to
"functional/functional-parameters": ["warn", { "ignorePattern": ["useEffect"]}],
I tried different ignorePattern but it seems like I'm doing something wrong. Or would I have to apply the ignorePrefixSelector ?
Thanks again!