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

Misspellings of omitempty #178

Open
bvwells opened this issue Sep 22, 2020 · 0 comments
Open

Misspellings of omitempty #178

bvwells opened this issue Sep 22, 2020 · 0 comments

Comments

@bvwells
Copy link

bvwells commented Sep 22, 2020

It would be great if misspell could catch misspellings of omitempty. Recently I have seen these misspellings:

ompitempty
omitemtpy

For example:
https://github.com/openshift/installer/pull/4166/files
cloudflare/cloudflare-go#531
cloudflare/gokeyless#279
sky-uk/skyinfoblox#74
openshift/machine-config-operator#2104
hashicorp/go-oracle-terraform#188

A search on github.com for 'omitemtpy' results in over 50 pages of results! Mainly due to a typo in kubernetes code which got duplicated around the world!

More than happy to add a PR, but wasn't sure of the process as words.go says that it is auto-generated.

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

1 participant