{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/10116","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/10116/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/10116/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/10116/events","html_url":"https://github.com/eslint/eslint/issues/10116","id":307421968,"node_id":"MDU6SXNzdWUzMDc0MjE5Njg=","number":10116,"title":"[Feature request] Lint only certain lines in a file","user":{"login":"tomkel","id":520225,"node_id":"MDQ6VXNlcjUyMDIyNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/520225?v=4","gravatar_id":"","url":"https://api.github.com/users/tomkel","html_url":"https://github.com/tomkel","followers_url":"https://api.github.com/users/tomkel/followers","following_url":"https://api.github.com/users/tomkel/following{/other_user}","gists_url":"https://api.github.com/users/tomkel/gists{/gist_id}","starred_url":"https://api.github.com/users/tomkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomkel/subscriptions","organizations_url":"https://api.github.com/users/tomkel/orgs","repos_url":"https://api.github.com/users/tomkel/repos","events_url":"https://api.github.com/users/tomkel/events{/privacy}","received_events_url":"https://api.github.com/users/tomkel/received_events","type":"User","site_admin":false},"labels":[{"id":82922548,"node_id":"MDU6TGFiZWw4MjkyMjU0OA==","url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8","default":false},{"id":45711352,"node_id":"MDU6TGFiZWw0NTcxMTM1Mg==","url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":255319420,"node_id":"MDU6TGFiZWwyNTUzMTk0MjA=","url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-21T21:19:31Z","updated_at":"2018-11-14T22:05:53Z","closed_at":null,"author_association":"NONE","body":"My motivation for this feature request is that the same that [precise-commits](https://github.com/nrwl/precise-commits) addresses. I want to be able to `--fix` only the lines that I've changed in a source file. `precise-commits` lays out some of the drawbacks of applying `--fix` on a particularly large file:\r\n\r\n>-  Increases the complexity and review time burden of PRs on senior team members.\r\n>-  Potentially increases the amount of time it takes to complete a PR in the first place.\r\n>-  Can block concurrent work on the same codebase and/or result in nasty merge conflicts with outstanding feature branches.\r\n\r\n> If I make a change on line 10 of a 4000 line file, I shouldn't be forced to reformat all 4000s lines (thus making me the last git user to update all of them) as part of my PR.\r\n> I should just need to reformat line 10.\r\n\r\n\r\nThis may already be possible by splicing changes and passing them to eslint's `--stdin`. Either way, consider this request a conversation starter.\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/438836247","html_url":"https://github.com/eslint/eslint/issues/10116#issuecomment-438836247","issue_url":"https://api.github.com/repos/eslint/eslint/issues/10116","id":438836247,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODgzNjI0Nw==","user":{"login":"kaicataldo","id":7041728,"node_id":"MDQ6VXNlcjcwNDE3Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/7041728?v=4","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T22:05:53Z","updated_at":"2018-11-14T22:05:53Z","author_association":"MEMBER","body":"@ilyavolodin I agree with you, though I would be concerned about a number of rules possible breaking code then, given that it doesn't have any more context than the snippet provided."}}
{"actor":{"display_login":"kaicataldo"}}