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

Warnings instead of errors for unsupported SwiftLint rules #35

Closed
mgrebenets opened this issue Aug 2, 2016 · 1 comment
Closed

Warnings instead of errors for unsupported SwiftLint rules #35

mgrebenets opened this issue Aug 2, 2016 · 1 comment

Comments

@mgrebenets
Copy link

Hi

We are facing an issue when the scanner fails when it sees "unknown" SwiftLint rule:

ERROR: Error during SonarQube Scanner execution
ERROR: The rule 'SwiftLint:legacy_cggeometry_functions' does not exist.

The thing is that legacy_cggeometry_functions is totally legit SwiftLint rule: https://github.com/realm/SwiftLint/search?utf8=%E2%9C%93&q=legacy_cggeometry_functions

Because the plugin doesn't support latest rules, the whole Sonar runner fails.

Could the plugin display a warning instead or even ignore the rules it does not support yet?

Otherwise, we are forced to use limited set of SwiftLint rules and forced to stay with older SwiftLint version, just because the plugin is not up to date. Or, for some reasons, we can't update the plugin on our CI server.

zippy1978 pushed a commit that referenced this issue Aug 5, 2016
@zippy1978
Copy link
Contributor

Hi,

Just fixed this issue (available on develop branch at the time).

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

2 participants