realm/SwiftLint

Spaces in function arguments

Open

#5,224 opened on Sep 15, 2023

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

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

Spaces in function arguments · realm/SwiftLint#5224 | Good First Issue