Skip to content

build: fix eslint.config following esm update #527

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

Merged
merged 1 commit into from
Jun 20, 2025

Conversation

michaelfaith
Copy link
Contributor

This change updates the eslint config to use sourceType: 'module', and swaps n's flat/mixed-esm-and-cjs config for flat/recommended which will use the module type from the nearest package.json.

This change updates the eslint config to use `sourceType: 'module'`, and swaps n's `flat/mixed-esm-and-cjs` config for `flat/recommended` which will use the module type from the nearest `package.json`.
@michaelfaith michaelfaith marked this pull request as ready for review June 20, 2025 18:05
Copy link
Member

@bmish bmish left a comment

Choose a reason for hiding this comment

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

Thanks!

@bmish bmish merged commit 0b708d7 into eslint-community:main Jun 20, 2025
9 checks passed
@michaelfaith michaelfaith deleted the build/fix-eslint-config branch June 20, 2025 18:17
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.

2 participants