IBDecodable / IBLinter

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

Reporters should print violation rule identifier #184

Open Adobels opened 2 years ago

Adobels commented 2 years ago

Violation messages reported by reporters don't include the violation identifier. Once such an identifier is included, it would be easy to identify and disable enabled by default rules in IBLinter.

IBLinter reporters don't print a violation rule identifier:

XXX.xib:0:0: warning: "View as:" should be Unknown device (retina3). Currently it is iPhone XR (retina6_1).

Swiftlint reporters print a violation rule identifier.

Rule.swift:44:36: error: Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)