help wantednew rule
Repository metrics
- Stars
- (5,022 個のスター)
- PR merge metrics
- (平均マージ 4h 30m) (30d で 26 merged PRs)
説明
Description
I see my newbine team member write following code when I code review:
sItems.splice(0, 0, { itemType: 'Ungroup' });
Fail
arr.splice(0, 0, {})
Pass
arr.unshift({})
Additional Info
maybe another proposal to suggest:
arr.splice(0, 1)
to:
arr.shift()