Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
venkatesh-nagineni opened this issue Jul 10, 2024 · 0 comments
Open
3 tasks done

Comments

@venkatesh-nagineni
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant