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 void keyword before the function keyword #53

Open
rilysh opened this issue Oct 2, 2022 · 1 comment
Open

Remove void keyword before the function keyword #53

rilysh opened this issue Oct 2, 2022 · 1 comment

Comments

@rilysh
Copy link

rilysh commented Oct 2, 2022

I saw at the first line that there's a void keyword before the function keyword, I understood the use case but it's nowadays an inappropriate way to use the function. Some eslint config (such as airbnb) avoid using void keyword, during its no effect feature.

@davidchambers
Copy link
Owner

You're right. Much about this project could be improved now that we have ES modules and other new language features. :)

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

No branches or pull requests

2 participants