Next.js Discord

Discord Forum

create-next-app@latest eslint error

Unanswered
Boerboel posted this in #help-forum
Open in Discord
Avatar
BoerboelOP
Hey guys, when i create a new nextjs15 project, i noticed a new file eslint.config.mjs, which was created, this is happening everytime i create a new project since last week, I am getting eslint error, but when i do npm run lint it works properly, it's just that when i get a alert saying eslint not configured properly and show the errors below. please help me fix it
Error: Invalid Options:
- Unknown options: reportUnusedDisableDirectives, resolvePluginsRelativeTo, rulePaths, useEslintrc, extensions, ignorePath
- '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: Invalid Options:
- Unknown options: reportUnusedDisableDirectives, resolvePluginsRelativeTo, rulePaths, useEslintrc, extensions, ignorePath
- '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.

2 Replies

Avatar
BoerboelOP
Anyone please help me
Avatar
West African Crocodile
excuse me, could you show me your next.config.js file?