{"action":"created","issue":{"url":"https://api.github.com/repos/atom-community/linter/issues/749","labels_url":"https://api.github.com/repos/atom-community/linter/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/atom-community/linter/issues/749/comments","events_url":"https://api.github.com/repos/atom-community/linter/issues/749/events","html_url":"https://github.com/atom-community/linter/issues/749","id":95515212,"number":749,"title":"Option to defer lint on the current line","user":{"login":"posita","id":222581,"avatar_url":"https://avatars.githubusercontent.com/u/222581?v=3","gravatar_id":"","url":"https://api.github.com/users/posita","html_url":"https://github.com/posita","followers_url":"https://api.github.com/users/posita/followers","following_url":"https://api.github.com/users/posita/following{/other_user}","gists_url":"https://api.github.com/users/posita/gists{/gist_id}","starred_url":"https://api.github.com/users/posita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posita/subscriptions","organizations_url":"https://api.github.com/users/posita/orgs","repos_url":"https://api.github.com/users/posita/repos","events_url":"https://api.github.com/users/posita/events{/privacy}","received_events_url":"https://api.github.com/users/posita/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom-community/linter/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/atom-community/linter/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-16T20:03:13Z","updated_at":"2015-07-18T20:36:47Z","closed_at":"2015-07-18T20:34:22Z","body":"Reopened from #170:\r\n\r\n@sandstorm wrote:\r\n>It would be neat if the current row was deferred/ignored. I find that linting errors are frequently shown while coding, which is only distracting. I.e. I'm in the midst of writing a line of code and it shows an error because I have not finished typing yet.\r\n>\r\n>It teaches users to pay less attention to the highlight, which goes against the idea of linting. Perhaps it could keep the changes on the current line ignored until the cursor moves to another row. That should avoid some needless linting.\r\n>\r\n>Only increasing the 'lint on change' interval is not enough. Since a too high value will have lint errors 'linger', and it's better if they are immediately removed when a lint issue is resolved. Perhaps another solution would be to add delay to showing errors (~10 seconds), but less delay to removing them (~1 second).\r\n>\r\n>What are your thoughts on this?\r\n\r\n@posita wrote:\r\n>A more nuanced (but probably more difficult to implement) approach would be to provide an option to ignore a *particular* warning in the current context rather than all warnings (consider, e.g., `# pylint: disable=...[,...]` for `pylint`, etc.). A list of potential warnings could be built from those still presenting themselves on that line. I'm guessing this would have the be integrated with the various implementing packages (where possible)."},"comment":{"url":"https://api.github.com/repos/atom-community/linter/issues/comments/122595714","html_url":"https://github.com/atom-community/linter/issues/749#issuecomment-122595714","issue_url":"https://api.github.com/repos/atom-community/linter/issues/749","id":122595714,"user":{"login":"adambuczynski","id":490562,"avatar_url":"https://avatars.githubusercontent.com/u/490562?v=3","gravatar_id":"","url":"https://api.github.com/users/adambuczynski","html_url":"https://github.com/adambuczynski","followers_url":"https://api.github.com/users/adambuczynski/followers","following_url":"https://api.github.com/users/adambuczynski/following{/other_user}","gists_url":"https://api.github.com/users/adambuczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/adambuczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambuczynski/subscriptions","organizations_url":"https://api.github.com/users/adambuczynski/orgs","repos_url":"https://api.github.com/users/adambuczynski/repos","events_url":"https://api.github.com/users/adambuczynski/events{/privacy}","received_events_url":"https://api.github.com/users/adambuczynski/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T20:36:47Z","updated_at":"2015-07-18T20:36:47Z","body":"I see, I misunderstood what you wrote earlier.\r\n\r\nDo you think it should follow the same timeout throughout though? Maybe some things should be triggered right after you stopped typing, but others (like linting in my opinion) should wait for at least 1-2 seconds, because I might just be pausing briefly to consider the code I just wrote, before continuing on the same line. Seeing all the linting errors appear is very distracting at that point."}}