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

Fix to look up ESLint default config files #524

Merged
merged 3 commits into from
Apr 5, 2023
Merged

Conversation

Quramy
Copy link
Owner

@Quramy Quramy commented Apr 5, 2023

It fixes #523

this.log(e);
// Config js files move to @eslint/js package sinse ESLint v8.35.
// https://github.com/eslint/eslint/pull/16844
return require.resolve(`@eslint/js/src/configs/eslint-${name}`);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should eslint-${name} just be ${name} ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx 😂

@Quramy Quramy force-pushed the fix_eslint_recommended branch from 24df11f to 0de60d5 Compare April 5, 2023 14:00
@Quramy Quramy changed the title Fix eslint recommended Fix to look up ESLint default config files Apr 5, 2023
@Quramy Quramy merged commit b956bf4 into master Apr 5, 2023
@Quramy Quramy deleted the fix_eslint_recommended branch April 5, 2023 14:02
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 this pull request may close these issues.

Can't load eslint configs after eslint@8.35.0
2 participants