Open lessfish opened 2 years ago
It could, yes, but you can also solve this with a regex: {exclude: [/^_/]}
.
I just want to keep the leading _
, for example, when the string is _name_obj
, I just want to get _nameObj
after conversion
with {exclude: [/^_/]}
, it will stay _name_obj
, is there some way to achieve it? Or it is not a normal demand?
I think we could add a preserveLeadingUnderscore: true
option. Must be added to camelcase
first though.
Any progress? Want to skip camelcase for BigNumber Object, it seems exclude support function would be more reasonable
In my case
but I don't want to lose leading
_
in_name
, how can I achieve it?Thanks