akxcv/vuera

Attribute hyphenation

Open

#40 opened on 2018年5月7日

GitHub で見る
 (2 comments) (1 reaction) (0 assignees)JavaScript (264 forks)batch import
enhancementgood first issuehacktoberfesthelp wanted

Repository metrics

Stars
 (4,260 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド