Next.js Discord

Discord Forum

why "next lint" instead of "eslint ..."

Unanswered
Miniature Bull Terrier posted this in #help-forum
Open in Discord
Avatar
Miniature Bull TerrierOP
Hey folks 👋 I'm working to enhance an eslint config used with a next.js site to include files outside the normal ts/tsx, and have a need to lint files outside the next.js app differently. If I add overrides to my lint config should I be expected to run eslint separately or does "next lint" handle this for me? Is "next lint" hydrating the config with something specific to next.js that is not applied via the config?

0 Replies