Skip to content

Conversation

mydea
Copy link
Member

@mydea mydea commented Dec 15, 2023

As that is browser only.

Closes #9860

@mydea mydea requested review from Lms24 and lforst December 15, 2023 11:16
@mydea mydea self-assigned this Dec 15, 2023
@mydea mydea mentioned this pull request Dec 15, 2023
3 tasks
Copy link
Contributor

@lforst lforst left a comment

Choose a reason for hiding this comment

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

event is kinda dangerous. Wondering if we can lint for stuff like this. I know eslint has the env option.

@mydea
Copy link
Member Author

mydea commented Dec 15, 2023

event is kinda dangerous. Wondering if we can lint for stuff like this. I know eslint has the env option.

Yeah, it's hard now because utils has some browser specific stuff in it 😬 in v8, when we "fixed" this by only having generic stuff in core, we should add some lint rule for this for sure!

@mydea mydea merged commit 30bb8b5 into develop Dec 15, 2023
@mydea mydea deleted the fn/worldwide-event branch December 15, 2023 11:48
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.

Avoid Event type in utils worldwide

2 participants