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

refactor LintCommand #1100

Merged
merged 2 commits into from
Dec 31, 2016
Merged

refactor LintCommand #1100

merged 2 commits into from
Dec 31, 2016

Conversation

jpsim
Copy link
Collaborator

@jpsim jpsim commented Dec 31, 2016

mostly by moving things out of run(_:) and out of the file.

By the way, this and the last few PRs is the result of the unrelated work I ended up doing to implement parallel linting (#1077).

mostly by moving things out of run(_:) and out of the file
let message = "Done linting! Found \(violations.count) violation\(violationSuffix), " +
"\(serious) serious in \(fileCount) file\(filesSuffix)"
queuedPrintError(message)
static func successOrExit(numberOfSeriousViolations: Int,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private?

Copy link
Collaborator

@marcelofabri marcelofabri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than a small comment 👍

@SwiftLintBot
Copy link

1 Error
🚫 Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
1 Warning
⚠️ This PR may need tests.

Here's an example of your CHANGELOG entry:

* refactor LintCommand.  
  [jpsim](https://github.com/jpsim)
  [#issue_number](https://github.com/realm/SwiftLint/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by 🚫 danger

@jpsim jpsim merged commit 6dce08c into master Dec 31, 2016
@jpsim jpsim deleted the jp-refactor-lint-command branch December 31, 2016 03:23
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

Successfully merging this pull request may close these issues.

3 participants