realm / SwiftLint

A tool to enforce Swift style and conventions.

Home Page:https://realm.github.io/SwiftLint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autocorrect only modified files?

NikKovIos opened this issue · comments

Hi. I'm using swiftlint for a long time and using autocorrect (--fix) every build. And every build it brings at least 15 seconds.

image

If swiflint could save state of already corrected files and then autocorrect only modified files it would be wonderfull!

(Yes, I saw #1343)

Cached files without violations that haven't changed since cached could be ignored by the correction. In other words, the --fix flag would only analyze changed files and eventually fix them together with the cached files with violations.

Sounds like that should be possible.