jsx-eslint/eslint-plugin-react
Auf GitHub ansehenIs there a rule for space between props?
Open
#3.181 geöffnet am 18. Jan. 2022
help wantednew rule
Repository-Metriken
- Stars
- (8.630 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
I haven't found any rule that complains about the following:
<Comp a={1}b={2}c={3}/>
And enforces space between props:
<Comp a={1} b={2} c={3}/>
Notice how it shall not affect the space before closing tag.
Is there a rule for it? If not, here it's my suggestion for it.