Autocorrect only modified files?
NikKovIos opened this issue · comments
NikeKov commented
Hi. I'm using swiftlint for a long time and using autocorrect (--fix
) every build. And every build it brings at least 15 seconds.
If swiflint could save state of already corrected files and then autocorrect only modified files it would be wonderfull!
(Yes, I saw #1343)
Danny Mösch commented
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.