stenciljs/eslint-plugin

feat: rule for camel case attributes for JSX/TSX templates

Open

#112 geöffnet am 10. Juli 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (37 Forks)auto 404
Help Wanted

Repository-Metriken

Stars
 (71 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Prerequisites

Describe the Feature Request

What do you think about to create a rule for camel case attrs, devs are using dash case sometimes which need to prevent, there is already lib for this, would be nice to add this rule for our stencil community

https://www.npmjs.com/package/eslint-plugin-react-camel-case/v/1.0.0

https://stenciljs.com/docs/properties#variable-casing

Describe the Use Case

use it like this <todo-list-item thingToDo={"Learn about Stencil Props"}></todo-list-item>

instead <todo-list-item thing-to-do="Learn about Stencil Props"></todo-list-item>

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Contributor Guide