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

ci: enforce code is formatted and linted before merging PRs #160

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

levibostian
Copy link
Owner

@levibostian levibostian commented Apr 10, 2024

commit-id:680f067f


Stack:

⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

Ran swiftlint and swiftformat. Lots of files changed because code has not been formatted or linted in quite a while.

Added .swift-version because without it, swiftformat has some features disabled.

commit-id:5e8eb13d
By using git hooks, you can make sure your code is linted and formatted as expected.

Added docs to readme for how to install these hooks.

commit-id:8d6cc4bc
@levibostian levibostian changed the base branch from spr/main/8d6cc4bc to main April 11, 2024 11:34
@levibostian levibostian merged commit 1906ed4 into main Apr 11, 2024
8 checks passed
@levibostian levibostian deleted the spr/main/680f067f branch April 11, 2024 11: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.

1 participant