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

Add ev-to-event default replacement to prevent-abbreviations rule #793

Conversation

mvargeson
Copy link
Contributor

This adds a new default replacement to the prevent-abbreviations rule for ev -> event.

I'm not sure if there is a lot of process around adding something like this so feel free to close this or ask for changes that I may have missed.

@sindresorhus
Copy link
Owner

Have you actually seen this abbreviation being used in real code?

@mvargeson
Copy link
Contributor Author

mvargeson commented Jul 8, 2020

I have. I don't have any public repositories to reference and couldn't give a good idea for exactly how common this is. I wouldn't imagine it is as prevalent as e or evt.

@mvargeson
Copy link
Contributor Author

mvargeson commented Jul 8, 2020

A quick browsing around https://github.com/search?l=JavaScript&q=ev&type=Code shows quite a few instances of this abbreviation being used.

@sindresorhus sindresorhus merged commit a0b4aba into sindresorhus:master Jul 9, 2020
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.

None yet

3 participants