acceptedhelp wantednew rule
倉庫指標
- Star
- (8,630 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Something similar to padded-blocks where it disallows code similar to this:
<div>
<img />
</div>
Depending on the setting the following should not throw a warning:
// jsx-padded-children: [2, "always"]
<div>
<img />
</div>
// jsx-padded-children: [2, "never"]
<div>
<img />
</div>
Not sure if anyone ever would pick up always, that's why I'm also down for jsx-no-padded-children or something like that