In my case I am using eslint
on nextjs
with eslint-config-next
. I use bun
as a package manager but I found instances of this issues on npm
and yarn
as well.
I didn't add any new package but after running bun update
or yarn update
the issues started appearing. Linting fails with the error:
Error while loading rule 'react/display-name': `[[GeneratorState]]` is not present on `O`
Occurred while linting ...