-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
How to skip the unmodified swift files #1343
Comments
This isn't really SwiftLint feature. This is an example of shell script we have integrated as part of our Xcode project
|
@snice Did @mgrebenets's comment solve your issue? |
I'd like to state that with SwiftLint's caching (minus current bugs we're dealing with), only modified files should be re-linted. |
@jpsim That means "modified" in the SwiftTerms terms, right? For our team it was important to use the For CI builds we lint the whole project - this is where cache becomes more important for us. |
What's "SwiftTerms terms"? By modified I mean different since the last run persisted in the cache. |
I have 100+ files, run cmd,
swiftlint autocorrect --format
but, Every time is slow。I want to hurry up, how to do?
For example, filter for modified files. Thanks..
The text was updated successfully, but these errors were encountered: