realm/SwiftLint

Spaces in function arguments

Open

#5,224 opened on 2023年9月15日

GitHub で見る
 (1 comment) (0 reactions) (1 assignee)Swift (19,570 stars) (2,295 forks)batch import
good first issuerule-request

説明

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)

コントリビューターガイド