akxcv/vuera

Attribute hyphenation

Open

#40 geöffnet am 7. Mai 2018

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (4.260 Stars) (264 Forks)batch import
enhancementgood first issuehacktoberfesthelp wanted

Beschreibung

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.

Contributor Guide