React version:
"eslint-plugin-react-hooks": "^4.2.0"
Link to code example:
rule of hook(eslint-plugin-react-hooks) did not fire when it is inside of a Promise block. Please find the detailed explanation in example code below. thx
https://codesandbox.io/s/romantic-austin-uyoiyj?file=/src/generateSomething.js