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

Update to SwiftLint 0.52.1 #239

Merged
merged 1 commit into from Sep 20, 2023
Merged

Update to SwiftLint 0.52.1 #239

merged 1 commit into from Sep 20, 2023

Conversation

calda
Copy link
Member

@calda calda commented Sep 7, 2023

I noticed we were using an outdated version of SwiftLint in this repo. We are currently using SwiftLint 0.52.1 within Airbnb.

This PR updates this repo to also use SwiftLint 0.52.1.

@@ -101,8 +101,6 @@ struct AirbnbSwiftFormatTool: ParsableCommand {
"--config", swiftLintConfig,
// Required for SwiftLint to emit a non-zero exit code on lint failure
"--strict",
// This flag is required when invoking SwiftLint from an SPM plugin, due to sandboxing
"--in-process-sourcekit",
Copy link
Member Author

Choose a reason for hiding this comment

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

This flag is no longer necessary:

warning: The --in-process-sourcekit option is deprecated. SwiftLint now always uses an in-process SourceKit.

@calda calda merged commit d4edb01 into master Sep 20, 2023
3 checks passed
@calda calda deleted the cal--update-swiftlint branch September 20, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants