camelcase: new allow option strips underscores before checking name #11000
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
triage
An ESLint team member will look at this issue soon
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
No Errors
What actually happened? Please include the actual, raw output from ESLint.
An error occurred.
Its quite clear from the code what went wrong:
It strips
_
only when there is more than one at the beginning or end. This is quite counter intuitive that I need to also strip them for the allow option.The text was updated successfully, but these errors were encountered: