jsx-eslint/eslint-plugin-react
Auf GitHub ansehenRule proposal: forbid superfluous enclosing spaces in same-line jsx components
Open
#191 geöffnet am 17. Aug. 2015
help wantednew rule
Beschreibung
This would produce a warning:
<span> { tab.title } </span>
as it produces 3 <span> DOM nodes (typically not wanted)
This wouldn't:
<span>{ tab.title }</span>