cow
nuxt/eslint + antfu-eslint-config errors
So I started a fresh nuxt installation using
pnpx nuxi@latest init
added the @nuxt.eslint
module alongside @antfu/eslint-config
.
I have disabled standalone in nuxt config:
eslint.config.mjs:
Now when I'm trying to create an interface like
interface ComponentProps {}
I get an eslint error saying Parsing error: The keyword 'interface' is reserved
Removing antfu()
from my eslint config removes the error, but obviously I'd like to use it.
Does anybody know what could be happening here?1 replies