The Wayback Machine - https://web.archive.org/web/20201026043146/https://github.com/akxcv/vuera/issues/40
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

Attribute hyphenation #40

Open
bmaland opened this issue May 7, 2018 · 1 comment
Open

Attribute hyphenation #40

bmaland opened this issue May 7, 2018 · 1 comment

Comments

@bmaland
Copy link

@bmaland bmaland commented May 7, 2018

Hi, great library but I found a small issue:

When passing props to the React component, Vue hyphenation rules doesn't work as expected. E.g. <my-react-component :form-data="someData" /> has to be written as <my-react-component :formData="someData" />, which breaks standard Vue linting rules.

Workaround is to add <!-- eslint-disable vue/attribute-hyphenation --> to the templates where needed, but would be nice if this was handled automatically by vuera.

@akxcv
Copy link
Owner

@akxcv akxcv commented May 11, 2018

Hi, yeah, it looks like this would be easy to do, also it shouldn't break anything. Would you be so kind to submit a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.