Skip to content

Conversation

jamieQ
Copy link
Contributor

@jamieQ jamieQ commented Jan 2, 2024

Issue

the current pre-commit hook builds & runs swiftformat on every lint-able file, which can take a relatively long time if many changes have been made

Description

  • updates commit hook script to make one call to swiftformat with all the files to lint
  • adds a swiftversion config specifying 5.7 as the language version the linter will use when running

Checklist

  • Unit Tests
  • UI Tests
  • Snapshot Tests (iOS only)
  • I have made corresponding changes to the documentation

@jamieQ jamieQ marked this pull request as ready for review January 2, 2024 17:03
@jamieQ jamieQ requested a review from a team as a code owner January 2, 2024 17:03
@jamieQ jamieQ merged commit 54d7ece into main Jan 2, 2024
@jamieQ jamieQ deleted the jquadri/pre-commit-linter-speedup branch January 2, 2024 17:33
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