Skip to content

Rule proposal: component-name-casing #251

Closed
@michalsnik

Description

@michalsnik

Style guide:
https://vuejs.org/v2/style-guide/#Component-name-casing-in-JS-JSX-strongly-recommended

Description:
We already have a rule called name-property-casing but it only checks a property name, and dosen't care about Vue.component('TheComponent', ...) case.

This rule could either extend the name-property-casing with extra checks or simply fill the gap and check only the second case, but if someone would want to change default casing he would need to do it in two places, and that's rather not what we want, so I'm leaning more towards one rule for both cases.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions