Next.js Discord

Discord Forum

Default eslint doesn't work

Unanswered
southclaws posted this in #help-forum
Open in Discord
Following the docs on the latest version: https://nextjs.org/docs/app/building-your-application/configuring/eslint

Results in:

❯ yarn next lint
yarn run v1.22.21
$ /Users/southclaws/work/me/node_modules/.bin/next lint
Invalid Options:
- Unknown options: useEslintrc, extensions, resolvePluginsRelativeTo, rulePaths, ignorePath, reportUnusedDisableDirectives
- 'extensions' has been removed.
- 'resolvePluginsRelativeTo' has been removed.
- 'ignorePath' has been removed.
- 'rulePaths' has been removed. Please define your rules using plugins.
- 'reportUnusedDisableDirectives' has been removed. Please use the 'overrideConfig.linterOptions.reportUnusedDisableDirectives' option instead.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

4 Replies