{"action":"created","issue":{"url":"https://api.github.com/repos/steelbrain/linter/issues/1103","repository_url":"https://api.github.com/repos/steelbrain/linter","labels_url":"https://api.github.com/repos/steelbrain/linter/issues/1103/labels{/name}","comments_url":"https://api.github.com/repos/steelbrain/linter/issues/1103/comments","events_url":"https://api.github.com/repos/steelbrain/linter/issues/1103/events","html_url":"https://github.com/steelbrain/linter/issues/1103","id":142479119,"number":1103,"title":"Add an option to only lint changes","user":{"login":"dkniffin","id":1680080,"avatar_url":"https://avatars.githubusercontent.com/u/1680080?v=3","gravatar_id":"","url":"https://api.github.com/users/dkniffin","html_url":"https://github.com/dkniffin","followers_url":"https://api.github.com/users/dkniffin/followers","following_url":"https://api.github.com/users/dkniffin/following{/other_user}","gists_url":"https://api.github.com/users/dkniffin/gists{/gist_id}","starred_url":"https://api.github.com/users/dkniffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkniffin/subscriptions","organizations_url":"https://api.github.com/users/dkniffin/orgs","repos_url":"https://api.github.com/users/dkniffin/repos","events_url":"https://api.github.com/users/dkniffin/events{/privacy}","received_events_url":"https://api.github.com/users/dkniffin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-21T21:38:53Z","updated_at":"2016-03-21T22:21:04Z","closed_at":null,"body":"When working on legacy projects that didn't start with linting, there can be *tons* of linting messages. I'd love an option to only lint code that has been edited since the last commit."},"comment":{"url":"https://api.github.com/repos/steelbrain/linter/issues/comments/199514363","html_url":"https://github.com/steelbrain/linter/issues/1103#issuecomment-199514363","issue_url":"https://api.github.com/repos/steelbrain/linter/issues/1103","id":199514363,"user":{"login":"florianb","id":983507,"avatar_url":"https://avatars.githubusercontent.com/u/983507?v=3","gravatar_id":"","url":"https://api.github.com/users/florianb","html_url":"https://github.com/florianb","followers_url":"https://api.github.com/users/florianb/followers","following_url":"https://api.github.com/users/florianb/following{/other_user}","gists_url":"https://api.github.com/users/florianb/gists{/gist_id}","starred_url":"https://api.github.com/users/florianb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianb/subscriptions","organizations_url":"https://api.github.com/users/florianb/orgs","repos_url":"https://api.github.com/users/florianb/repos","events_url":"https://api.github.com/users/florianb/events{/privacy}","received_events_url":"https://api.github.com/users/florianb/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T22:21:04Z","updated_at":"2016-03-21T22:21:04Z","body":"Hmm.. i thought this would heavily depend on the language/linter. F.e. `javac` needs to load all project-files to solve cross-dependencies which is in fact a lint of the whole project. I have no time to prove it now.\r\n\r\nAn option to filter all linter-messages which aren't from the current file could be an alternative, too."}}