SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

Spaces in function arguments

Open sedenkovvlad opened this issue 1 year ago • 1 comments

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)

sedenkovvlad avatar Sep 15 '23 07:09 sedenkovvlad

I'll work on it

u-abyss avatar Nov 04 '23 06:11 u-abyss