realm/SwiftLint

Spaces in function arguments

Open

#5,224 建立於 2023年9月15日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)Swift (2,295 fork)batch import
good first issuerule-request

倉庫指標

Star
 (19,570 star)
PR 合併指標
 (平均合併 16天 3小時) (30 天內合併 37 個 PR)

描述

I would like to remove spaces before the first function argument and after the last function argument. The rule must be opt-in. Need good style code

Bad

makeGenerator(❗️ style ❗️)
makeGenerator(❗️ style)
makeGenerator(style ❗️)
makeGenerator(❗️ offset: 0, limit: 0)
makeGenerator(offset: 0, limit: 0 ❗️)

Good

makeGenerator(style)
makeGenerator(style)
makeGenerator(style)
makeGenerator(offset: 0, limit: 0)
makeGenerator(offset: 0, limit: 0)

貢獻者指南