akxcv/vuera

Attribute hyphenation

Aperta

#40 aperta il 7 mag 2018

 (2 commenti) (1 reazione) (0 assegnatari)JavaScript (240 fork)batch import
enhancementgood first issuehacktoberfesthelp wanted

Metriche repository

Star
 (4286 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor