next lint
DevelopmentRun ESLint for Next.js
Options & Flags
Available options for this command
--fixAutomatically fix issues
--dirSpecify directory to lint
Examples
Common usage examples
Run ESLint
next lintFix auto-fixable issues
next lint --fixLint using package.json script
npm run lintRelated Commands
You might also find these useful