{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PSScriptAnalyzer/issues/483","repository_url":"https://api.github.com/repos/PowerShell/PSScriptAnalyzer","labels_url":"https://api.github.com/repos/PowerShell/PSScriptAnalyzer/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PSScriptAnalyzer/issues/483/comments","events_url":"https://api.github.com/repos/PowerShell/PSScriptAnalyzer/issues/483/events","html_url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/483","id":144369153,"number":483,"title":"Warn on Undeclared Variable","user":{"login":"mattmcnabb","id":6998507,"avatar_url":"https://avatars.githubusercontent.com/u/6998507?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmcnabb","html_url":"https://github.com/mattmcnabb","followers_url":"https://api.github.com/users/mattmcnabb/followers","following_url":"https://api.github.com/users/mattmcnabb/following{/other_user}","gists_url":"https://api.github.com/users/mattmcnabb/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmcnabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmcnabb/subscriptions","organizations_url":"https://api.github.com/users/mattmcnabb/orgs","repos_url":"https://api.github.com/users/mattmcnabb/repos","events_url":"https://api.github.com/users/mattmcnabb/events{/privacy}","received_events_url":"https://api.github.com/users/mattmcnabb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-29T19:54:37Z","updated_at":"2016-03-30T14:07:19Z","closed_at":null,"body":"There is currently a rule that warns when I have assigned a variable but haven't called it (UseDeclaredVarsMoreThanAssignments), however, there doesn't appear to be a rule that warns me if I have used a variable that hasn't been assigned.\r\n\r\nIs this a possibility? I can definitely see there would be some challenges around implementing it correctly, but this would be a useful warning."},"comment":{"url":"https://api.github.com/repos/PowerShell/PSScriptAnalyzer/issues/comments/203447879","html_url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/483#issuecomment-203447879","issue_url":"https://api.github.com/repos/PowerShell/PSScriptAnalyzer/issues/483","id":203447879,"user":{"login":"mattmcnabb","id":6998507,"avatar_url":"https://avatars.githubusercontent.com/u/6998507?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmcnabb","html_url":"https://github.com/mattmcnabb","followers_url":"https://api.github.com/users/mattmcnabb/followers","following_url":"https://api.github.com/users/mattmcnabb/following{/other_user}","gists_url":"https://api.github.com/users/mattmcnabb/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmcnabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmcnabb/subscriptions","organizations_url":"https://api.github.com/users/mattmcnabb/orgs","repos_url":"https://api.github.com/users/mattmcnabb/repos","events_url":"https://api.github.com/users/mattmcnabb/events{/privacy}","received_events_url":"https://api.github.com/users/mattmcnabb/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T14:07:19Z","updated_at":"2016-03-30T14:07:19Z","body":"I definitely see your point, but if this warning is noise, is the reverse not also true - that the current \"UseDeclaredVarsMoreThanAssignments\" rule is also just noise?"}}