pickware / style-guide

How we work with code
0 stars 0 forks source link

Add option to SwiftLint rule `line_length` for ignoring trailing SwiftLint disable commands #54

Open svenmuennich opened 4 years ago

svenmuennich commented 4 years ago

Quite often trailing SwiftLint command comments like swiftlint:disable:this cause the line to exceed our configured swift limit of 120 characters per line.

We should add an option to the rule line_length to let it ignore such commands, if configured.