jsx-eslint/eslint-plugin-react
Rule suggestion: Prevent invalid HTML DOM element name to be used
開放
#1,752 建立於 2018年3月30日
acceptedhelp wantednew rule
倉庫指標
- 星標
- (9,293 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
It would be nice if invalid DOM element name is detectable. How about this rule?
valid:
<div>{ 'bar' }</div>
invalid:
<foo>{ 'bar' }</foo>