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

Can't load eslint configs after eslint@8.35.0 #523

Closed
andyrooger opened this issue Apr 5, 2023 · 4 comments · Fixed by #524
Closed

Can't load eslint configs after eslint@8.35.0 #523

andyrooger opened this issue Apr 5, 2023 · 4 comments · Fixed by #524

Comments

@andyrooger
Copy link

When using eslint configs e.g.

extends: [
        'eslint:recommended',
]

The configs cannot be found when using eslint@8.35.0 or later. This PR moved their location so that resolveESLintIntrinsicConfigPath can no longer resolve them.

@Quramy
Copy link
Owner

Quramy commented Apr 5, 2023

Thanks to point PRs .

@andyrooger
Copy link
Author

require.resolve('@eslint/js/src/configs/eslint-recommended') works as a workaround for me.

However I found this while struggling to get the plugin running on Windows (/ vs \ in paths) so once I work through all that I may be able to give you a PR for both?

@andyrooger
Copy link
Author

Thanks! Very quick work! @Quramy

@Quramy
Copy link
Owner

Quramy commented Apr 5, 2023

Your info helps me so much because I did not know why renovate PR is failed.

Thanks.

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

Successfully merging a pull request may close this issue.

2 participants