Skip to content

camel-case-properties is too opinionated #775

@hoshsadiq

Description

@hoshsadiq

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions