I have created Next.js project uinsg npx create-next-app@latest
, and I have unused imports in the pages.
npm run lint
does not complaint the unused imports until I added eslint:recommended
in .eslintrc.json
{
"extends": ["next/core-web-vitals", "eslint:recommended"]
}
Is this the recommended way?