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

semiColons should be spelled semicolons because it's a single word. #623

Open
lixiaoyan opened this issue Apr 8, 2024 · 3 comments
Open

Comments

@lixiaoyan
Copy link

https://en.wikipedia.org/wiki/Semicolon
https://prettier.io/docs/en/options#semicolons

semicolons (10k+) vs semiColons (553) in sourcegraph

@lixiaoyan lixiaoyan changed the title semiColons should be spelledsemicolons because it's a single word. semiColons should be spelled semicolons because it's a single word. Apr 8, 2024
@lixiaoyan
Copy link
Author

@dsherret dsherret added bug Something isn't working good first issue Good for newcomers and removed bug Something isn't working good first issue Good for newcomers labels Apr 18, 2024
@dsherret
Copy link
Member

Semicolon is alternatively spelt as semi-colon so that's where the casing comes from. That said, it might be good to change this to align with prettier.

@lixiaoyan
Copy link
Author

https://stackoverflow.com/a/58756613

For example:
submenu/sub-menu -> submenu in camel case
rerender/re-render -> rerender in camel case
coclient/co-client -> coclient in camel case

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