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: __filename is not defined in ES module scope when using eslint.config.mjs #573

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

cardoso
Copy link
Contributor

@cardoso cardoso commented Nov 13, 2024

Oversight from #569

Oops!

@cardoso cardoso changed the title fix: __filename used by mistake fix: __filename is not defined in ES module scope when using eslint.config.mjs Nov 13, 2024
@cardoso
Copy link
Contributor Author

cardoso commented Nov 13, 2024

@veritem tagging you for visibility. I messed up 😂.

@ixartz
Copy link

ixartz commented Nov 13, 2024

Currently, getting an error with eslint 😢

ReferenceError: __filename is not defined in ES module scope

Copy link
Member

@veritem veritem left a comment

Choose a reason for hiding this comment

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

oops

@veritem veritem merged commit 169413f into vitest-dev:main Nov 13, 2024
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.

3 participants