{"action":"created","issue":{"url":"https://api.github.com/repos/atom-community/linter/issues/752","labels_url":"https://api.github.com/repos/atom-community/linter/issues/752/labels{/name}","comments_url":"https://api.github.com/repos/atom-community/linter/issues/752/comments","events_url":"https://api.github.com/repos/atom-community/linter/issues/752/events","html_url":"https://github.com/atom-community/linter/issues/752","id":95797595,"number":752,"title":"Add option to disable or defer linting on preview tabs","user":{"login":"forivall","id":760204,"avatar_url":"https://avatars.githubusercontent.com/u/760204?v=3","gravatar_id":"","url":"https://api.github.com/users/forivall","html_url":"https://github.com/forivall","followers_url":"https://api.github.com/users/forivall/followers","following_url":"https://api.github.com/users/forivall/following{/other_user}","gists_url":"https://api.github.com/users/forivall/gists{/gist_id}","starred_url":"https://api.github.com/users/forivall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forivall/subscriptions","organizations_url":"https://api.github.com/users/forivall/orgs","repos_url":"https://api.github.com/users/forivall/repos","events_url":"https://api.github.com/users/forivall/events{/privacy}","received_events_url":"https://api.github.com/users/forivall/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/requesting%20votes","name":"requesting votes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-18T06:56:16Z","updated_at":"2015-07-18T11:45:59Z","closed_at":null,"body":"Since atom 1.0.0 introduced preview tabs, (which are helpful while browsing a foreign codebase), it would be nice if there was a setting to disable linting while a tab is in preview mode.\r\n\r\nThe primary motivation for this is that, while a tab is in preview mode, the user may quickly switch to a different tab, and the linting process often slows down the process of switching to a different tab.\r\n\r\nUnfortunately, the preview state is only saved within the TabView itself, so this might not be reasonable unless / until the preview state is made more accessible. Or, instead of preview, the option could be to only lint if it the file has been modified or saved."},"comment":{"url":"https://api.github.com/repos/atom-community/linter/issues/comments/122533886","html_url":"https://github.com/atom-community/linter/issues/752#issuecomment-122533886","issue_url":"https://api.github.com/repos/atom-community/linter/issues/752","id":122533886,"user":{"login":"AsaAyers","id":324999,"avatar_url":"https://avatars.githubusercontent.com/u/324999?v=3","gravatar_id":"","url":"https://api.github.com/users/AsaAyers","html_url":"https://github.com/AsaAyers","followers_url":"https://api.github.com/users/AsaAyers/followers","following_url":"https://api.github.com/users/AsaAyers/following{/other_user}","gists_url":"https://api.github.com/users/AsaAyers/gists{/gist_id}","starred_url":"https://api.github.com/users/AsaAyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsaAyers/subscriptions","organizations_url":"https://api.github.com/users/AsaAyers/orgs","repos_url":"https://api.github.com/users/AsaAyers/repos","events_url":"https://api.github.com/users/AsaAyers/events{/privacy}","received_events_url":"https://api.github.com/users/AsaAyers/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T11:45:59Z","updated_at":"2015-07-18T11:45:59Z","body":"How do you access these preview tabs? I've never heard of it.\r\n\r\nIf they're read-only I don't think we should lint them at all"}}