{"action":"closed","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/49","labels_url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/49/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-jscs/issues/49/events","html_url":"https://github.com/AtomLinter/linter-jscs/issues/49","id":72385936,"number":49,"title":"Package.getActivationCommands is deprecated.","user":{"login":"CristyTarantino","id":4570797,"avatar_url":"https://avatars.githubusercontent.com/u/4570797?v=3","gravatar_id":"","url":"https://api.github.com/users/CristyTarantino","html_url":"https://github.com/CristyTarantino","followers_url":"https://api.github.com/users/CristyTarantino/followers","following_url":"https://api.github.com/users/CristyTarantino/following{/other_user}","gists_url":"https://api.github.com/users/CristyTarantino/gists{/gist_id}","starred_url":"https://api.github.com/users/CristyTarantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CristyTarantino/subscriptions","organizations_url":"https://api.github.com/users/CristyTarantino/orgs","repos_url":"https://api.github.com/users/CristyTarantino/repos","events_url":"https://api.github.com/users/CristyTarantino/events{/privacy}","received_events_url":"https://api.github.com/users/CristyTarantino/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-01T08:40:03Z","updated_at":"2015-05-04T10:03:38Z","closed_at":"2015-05-04T10:03:38Z","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 (C:\\Users\\tarantinom\\AppData\\Local\\atom\\app-0.196.0\\resources\\app.asar\\src\\package.js:790:9)\r\nPackage.hasActivationCommands (C:\\Users\\tarantinom\\AppData\\Local\\atom\\app-0.196.0\\resources\\app.asar\\src\\package.js:715:20)\r\n<unknown> (C:\\Users\\tarantinom\\AppData\\Local\\atom\\app-0.196.0\\resources\\app.asar\\src\\package.js:169:24)\r\nPackage.measure (C:\\Users\\tarantinom\\AppData\\Local\\atom\\app-0.196.0\\resources\\app.asar\\src\\package.js:147:15)\r\n```"}}