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
Update: add allow underscores options to camelcase rule. #10474
Update: add allow underscores options to camelcase rule. #10474
Conversation
09692e4
to
eea37f6
Compare
I'm not sure this is necessary because you could use |
@platinumazure I've tried id-match. There're too much problems to use that, even |
|
The reason I recommended Let's see what the rest of the team thinks. |
@platinumazure What you said is also what I want. Actually camelcase allows leading underscores now, but in my project we want to disallow any underscores. Shall we remove the leading and trailing underscores ignore code in rule camelcase? |
#10554 |
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[X] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
What changes did you make? (Give an overview)
Add options to control whether leading and trailing underscores are allowed in id naming.
Is there anything you'd like reviewers to focus on?
The default value. This option should be enabled because it was enabled in previous version.