akxcv/vuera

Attribute hyphenation

Open

#40 创建于 2018年5月7日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)JavaScript (264 fork)batch import
enhancementgood first issuehacktoberfesthelp wanted

仓库指标

Star
 (4,260 star)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南