{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/868","repository_url":"https://api.github.com/repos/realm/SwiftLint","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/868/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/868/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/868/events","html_url":"https://github.com/realm/SwiftLint/issues/868","id":187806297,"number":868,"title":"Keep track of already linted/autocorrected files.","user":{"login":"nhgrif","id":6437208,"avatar_url":"https://avatars.githubusercontent.com/u/6437208?v=3","gravatar_id":"","url":"https://api.github.com/users/nhgrif","html_url":"https://github.com/nhgrif","followers_url":"https://api.github.com/users/nhgrif/followers","following_url":"https://api.github.com/users/nhgrif/following{/other_user}","gists_url":"https://api.github.com/users/nhgrif/gists{/gist_id}","starred_url":"https://api.github.com/users/nhgrif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhgrif/subscriptions","organizations_url":"https://api.github.com/users/nhgrif/orgs","repos_url":"https://api.github.com/users/nhgrif/repos","events_url":"https://api.github.com/users/nhgrif/events{/privacy}","received_events_url":"https://api.github.com/users/nhgrif/received_events","type":"User","site_admin":false},"labels":[{"id":212343556,"url":"https://api.github.com/repos/realm/SwiftLint/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-07T19:36:40Z","updated_at":"2016-11-25T21:45:53Z","closed_at":null,"body":"I'm using SwiftLint with a code base of around 30,000 lines of code (and growing).  We have set up a build phase to run SwiftLint (and SwiftLint autocorrect) on every build.  Some devs on the project are reporting that this takes a significantly long amount of time even when they have not modified any files.\r\n\r\nOn every run, SwiftLint could keep track of which files it checked or corrected and when.  Then, on a future run, SwiftLint will determine if the .swiftlint.yml or the Swift file has been modified since the last run.  If neither has been modified, SwiftLint will skip the file.\r\n\r\nOn a version update from SwiftLint, it should clear out these records so the first run of a new version of SwiftLint, it re-checks every file.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/263025514","html_url":"https://github.com/realm/SwiftLint/issues/868#issuecomment-263025514","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/868","id":263025514,"user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T21:45:52Z","updated_at":"2016-11-25T21:45:52Z","body":"What you're requesting is akin to a compiler cache, and probably very useful for large projects.\r\n\r\nI'd certainly welcome a PR to SwiftLint that added this type of caching.\r\n\r\nIn the meantime, some users are using modified files in git to only lint changed files: https://github.com/realm/SwiftLint/issues/785#issuecomment-243796388. That may be an option for you too."}}
{"actor":{"display_login":"jpsim"}}