jsx-eslint/eslint-plugin-react

Rule suggestion: Prevent invalid HTML DOM element name to be used

Open

#1,752 opened on 2018年3月30日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)JavaScript (8,630 stars) (2,797 forks)batch import
acceptedhelp wantednew rule

説明

It would be nice if invalid DOM element name is detectable. How about this rule?

valid:

<div>{ 'bar' }</div>

invalid:

<foo>{ 'bar' }</foo>

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