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
Object Literal Property must match one of the following formats: strictCamelCase #747
Comments
The convention in JS is camel-case. You can use ESLint ignore comments for cases like this. |
This is not correct. The only packages that require it are bad web API wrapper packages. |
Stripe example |
@sindresorhus Have you ever used |
I use XO in 1000+ projects. |
They only use snake-case because the programmatic API is generated from their API docs. |
You don't have to ESLint ignore each line, you can apply it to a block or a whole file. You could even allow snake_case for the whole project if you want. |
Hello. A lot of npm packages accept only snake_case fields in object parameters.
It will be cool to ignore this rule if we use such npm packages or external APIs.
The text was updated successfully, but these errors were encountered: