IBDecodable / IBLinter

A linter tool for Interface Builder
MIT License
950 stars 40 forks source link

Disable trailing_comma on allRules collection #183

Closed Adobels closed 2 years ago

Adobels commented 2 years ago

Disabling The Swiftlint rule "Trailing Comma Rule" on code level "Rule.swift:24" will simplify the source diff in a code review (one added line instead of one removed line and two added lines) and will mark the "allRules" collection as a collection open for new elements. I would use the comma where you know you're going to add elements later, and omit it if the list of items is final.

Closes #182