-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
camel-case-properties is too opinionated. I totally understand the kebab-case argument that it would break dot notation in JS, but this is for example not valid for snake case. In addition, not everyone writes javascript clients.
I think as an alternative, have a rule for casing where you specify the preferred style where the camel-case is the default option.
This way the user can specify whether they want snake case, camel case, or one of the other cases.
In addition, if you feel strongly kebab-case (personally I agree), there can also be another rule that prevents that users would need to explicitly disable if they really want to shoot themselves in the foot.
Drew-Daniels
Metadata
Metadata
Assignees
Labels
No labels