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: allow empty functions #570

Merged
merged 1 commit into from Jun 27, 2023
Merged

fix: allow empty functions #570

merged 1 commit into from Jun 27, 2023

Conversation

skjnldsv
Copy link
Contributor

We have a lot of these
image

@skjnldsv skjnldsv requested a review from susnux June 27, 2023 09:38
@skjnldsv skjnldsv self-assigned this Jun 27, 2023
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

Rule description seems logical https://eslint.org/docs/latest/rules/no-empty-function
But I think there is no good other way for stuff like your example 🤷

@skjnldsv skjnldsv merged commit c7a4f9e into master Jun 27, 2023
5 checks passed
@skjnldsv skjnldsv deleted the feat/empty-function branch June 27, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants