Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporters should print violation rule identifier #184

Open
Adobels opened this issue Mar 28, 2022 · 0 comments
Open

Reporters should print violation rule identifier #184

Adobels opened this issue Mar 28, 2022 · 0 comments

Comments

@Adobels
Copy link
Contributor

Adobels commented Mar 28, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant