Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate eslint configuration #597

Open
OlafConijn opened this issue Oct 16, 2024 · 0 comments
Open

Migrate eslint configuration #597

OlafConijn opened this issue Oct 16, 2024 · 0 comments

Comments

@OlafConijn
Copy link
Member

it seems that this repository uses eslint configuration that is not compatible with newer versions, sometimes there also is a PR stuck called 'chore(deps): update linters (major)'.

what needs to happen:
- anywhere we have an .eslintrc.json , .eslintrc.js, or embedded config in package.json, it needs to be moved to a new eslint.config.js file. you can migrate the first type using this command: npx @eslint/migrate-config .eslintrc.json.
- the --ext flag in package.json isn't supported anymore. so eslint . --ext .ts needs to become eslint .

more information: https://eslint.org/docs/latest/use/configure/migration-guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant