Skip to content

[Bug]: .eslintrc.* file is deprecated, should migrate to eslint.config.(js|mjs|cjs) file #2

@physicshub

Description

@physicshub

Describe the bug

npm run lint

> koalaz@1.0.0 lint
> eslint src/**/*.ts


Oops! Something went wrong! :(

ESLint: 9.39.1

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

1. Open terminal
2. Type `npm run lint`

### Expected behavior

It should execute eslint

### Screenshots

_No response_

### Additional context

_No response_

### Code of Conduct

- [x] I agree to follow this project's **Code of Conduct**

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions