{"action":"opened","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6011","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6011/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6011/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6011/events","html_url":"https://github.com/eslint/eslint/issues/6011","id":151936548,"number":6011,"title":"Angular ENV Rule Request","user":{"login":"AlexanderElias","id":6393261,"avatar_url":"https://avatars.githubusercontent.com/u/6393261?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderElias","html_url":"https://github.com/AlexanderElias","followers_url":"https://api.github.com/users/AlexanderElias/followers","following_url":"https://api.github.com/users/AlexanderElias/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderElias/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderElias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderElias/subscriptions","organizations_url":"https://api.github.com/users/AlexanderElias/orgs","repos_url":"https://api.github.com/users/AlexanderElias/repos","events_url":"https://api.github.com/users/AlexanderElias/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderElias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-29T18:14:19Z","updated_at":"2016-04-29T18:14:19Z","closed_at":null,"body":"## Angular ENV Rule Request ##\r\n\r\nThis is just a rule request for an ENV option for angular.\r\n\r\n**Rule**\r\n\"env\": { \"angular\" }\r\n\r\n**When the rules will warn. Include a description as well as sample code.**\r\nRemoves `undef` of the angular variable.\r\n\r\n**Whether the rule prevents an error or is stylistic.**\r\nPrevents an error warning.\r\n\r\n**Why the rule should be in the core instead of creating a custom rule.**\r\nAngular is very popular.\r\n\r\n**Are you willing to create the rule yourself?**\r\nSure.\r\n\r\nSo far the only addition that I know of for Angular is for an `undef` of the variable `angular`. I know you can use the `globals`  option but it would be nice if we could implement an angular ENV instead.\r\n\r\n"}}