akxcv/vuera

Attribute hyphenation

開放

#40 建立於 2018年5月7日

 (2 則留言) (1 個反應) (0 位負責人)JavaScript (240 個分叉)batch import
enhancementgood first issuehacktoberfesthelp wanted

倉庫指標

星標
 (4,286 顆星)
PR 合併指標
 (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.

貢獻者指南