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/add swift lint and swiftformat #53

Merged
merged 8 commits into from
May 2, 2024

Conversation

gazreese
Copy link
Contributor

@gazreese gazreese commented Apr 30, 2024

Description

Continued @matthewelwell 's work to add swiftlint to the PR pipleline to enforce code style. This ended up in a bit of a rabbit hole of warnings and errors, as these things do when you add them to an existing codebase.

I'm happy with the code style now. It's nice.

I've configured swiftlint and swiftformat so that they can be run simultaneously and not complain at each other.

I've updated our code where required to fit the standard swiftlint config, while relaxed a little on some of the more pedantic rules that might make things a pain for contributors.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@matthewelwell matthewelwell merged commit 16bbfb0 into Flagsmith:main May 2, 2024
3 checks passed
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.

2 participants