realm/SwiftLint

Spaces in function arguments

Open

#5,224 opened on Sep 15, 2023

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Swift (2,295 forks)batch import
good first issuerule-request

Repository metrics

Stars
 (19,570 stars)
PR merge metrics
 (Avg merge 16d 3h) (37 merged PRs in 30d)

Description

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)

Contributor guide