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

Remove ecmaVersion and sourceType from flat configs #2239

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Dec 21, 2023

According to https://eslint.org/docs/latest/use/configure/configuration-files-new#configuration-objects, in the flat config system.

ESLint already set ecmaVersion and use the correct sourceType. So we can remove them from flat configs.

@sindresorhus sindresorhus merged commit 85bce3f into sindresorhus:main Dec 21, 2023
22 checks passed
@fisker fisker deleted the flat-config branch December 21, 2023 03:32
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