Following up the guide I have discovered that from version 9, there are few change in ESLint which will require to migration from .eslintrc.json to eslint.config.js.
Downgrade to version 8 (^.8.56.0) seem to be fine or perform migration on your own following the guide. But I think we should have the update on this.
Oops! Something went wrong! :(
ESLint: 9.6.0
ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
From ESLint v9.0.0, the default configuration file is now eslint.config.js.
If you are using a .eslintrc.* file, please follow the migration guide
to update your configuration file to the new format:
https://eslint.org/docs/latest/use/configure/migration-guide
If you still have problems after following the migration guide, please stop by
https://eslint.org/chat/help to chat with the team.
To Reproduce
Go to Guide
Following up the guide until section Setting up a linter
Try to run npx eslint . for example
Got the error
Screenshots
No response
Device (please complete the following information)
Describe the bug
Following up the guide I have discovered that from version 9, there are few change in ESLint which will require to migration from .eslintrc.json to eslint.config.js. Downgrade to version 8 (^.8.56.0) seem to be fine or perform migration on your own following the guide. But I think we should have the update on this.
To Reproduce
npx eslint .
for exampleScreenshots
No response
Device (please complete the following information)
Additional notes
No response