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

Add --output option to lint and analyze commands #4148

Merged
merged 3 commits into from
Aug 31, 2022
Merged

Conversation

jpsim
Copy link
Collaborator

@jpsim jpsim commented Aug 30, 2022

To write to a file instead of to stdout.

Addresses #4048

To write to a file instead of to stdout.
@SwiftLintBot
Copy link

SwiftLintBot commented Aug 30, 2022

1 Warning
⚠️ This PR may need tests.
12 Messages
📖 Linting Aerial with this PR took 1.17s vs 1.15s on master (1% slower)
📖 Linting Alamofire with this PR took 1.4s vs 1.39s on master (0% slower)
📖 Linting Firefox with this PR took 6.09s vs 6.04s on master (0% slower)
📖 Linting Kickstarter with this PR took 33.68s vs 33.17s on master (1% slower)
📖 Linting Moya with this PR took 0.69s vs 0.67s on master (2% slower)
📖 Linting Nimble with this PR took 0.61s vs 0.6s on master (1% slower)
📖 Linting Quick with this PR took 0.29s vs 0.29s on master (0% slower)
📖 Linting Realm with this PR took 12.76s vs 12.83s on master (0% faster)
📖 Linting SourceKitten with this PR took 0.48s vs 0.49s on master (2% faster)
📖 Linting Sourcery with this PR took 2.19s vs 2.2s on master (0% faster)
📖 Linting Swift with this PR took 4.21s vs 4.19s on master (0% slower)
📖 Linting WordPress with this PR took 10.27s vs 10.22s on master (0% slower)

Generated by 🚫 Danger

@jpsim jpsim marked this pull request as ready for review August 30, 2022 22:27
@jpsim jpsim requested a review from SimplyDanny August 30, 2022 22:27
Copy link
Collaborator

@SimplyDanny SimplyDanny left a comment

Choose a reason for hiding this comment

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

LGTM! Just one question ...

@jpsim jpsim enabled auto-merge (squash) August 31, 2022 21:19
@jpsim jpsim merged commit 4bc6588 into master Aug 31, 2022
@jpsim jpsim deleted the jp-write-to-file branch August 31, 2022 21:34
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.

Is there any way to specify an output file for SwiftLint reports instead of using '>' ?
3 participants