{"action":"opened","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/36","labels_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/36/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/36/events","html_url":"https://github.com/AtomLinter/linter-flake8/issues/36","id":77334979,"number":36,"title":"Package.getActivationCommands is deprecated.","user":{"login":"kunalprakash","id":7422639,"avatar_url":"https://avatars.githubusercontent.com/u/7422639?v=3","gravatar_id":"","url":"https://api.github.com/users/kunalprakash","html_url":"https://github.com/kunalprakash","followers_url":"https://api.github.com/users/kunalprakash/followers","following_url":"https://api.github.com/users/kunalprakash/following{/other_user}","gists_url":"https://api.github.com/users/kunalprakash/gists{/gist_id}","starred_url":"https://api.github.com/users/kunalprakash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunalprakash/subscriptions","organizations_url":"https://api.github.com/users/kunalprakash/orgs","repos_url":"https://api.github.com/users/kunalprakash/repos","events_url":"https://api.github.com/users/kunalprakash/events{/privacy}","received_events_url":"https://api.github.com/users/kunalprakash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-17T15:43:20Z","updated_at":"2015-05-17T15:43:20Z","closed_at":null,"body":"Use `activationCommands` instead of `activationEvents` in your package.json\r\nCommands should be grouped by selector as follows:\r\n```json\r\n  \"activationCommands\": {\r\n    \"atom-workspace\": [\"foo:bar\", \"foo:baz\"],\r\n    \"atom-text-editor\": [\"foo:quux\"]\r\n  }\r\n```\r\n```\r\nPackage.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:810:9)\r\nPackage.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:735:20)\r\n<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:189:24)\r\nPackage.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:167:15)\r\n```"}}