{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/344","labels_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/344/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/344/events","html_url":"https://github.com/AtomLinter/linter-eslint/pull/344","id":119612774,"number":344,"title":"Move all source to ES6","user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2015-12-01T00:23:58Z","updated_at":"2015-12-08T06:51:44Z","closed_at":"2015-12-08T06:51:44Z","pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/pulls/344","html_url":"https://github.com/AtomLinter/linter-eslint/pull/344","diff_url":"https://github.com/AtomLinter/linter-eslint/pull/344.diff","patch_url":"https://github.com/AtomLinter/linter-eslint/pull/344.patch"},"body":"Instead of having two helper files, one in ES5 and one in ES6, I decided to move all to babel and use ucompiler to compile them\r\n\r\n\r\n#### How to set the new env up\r\n```\r\nnpm install -g ucompiler\r\ncd ~/.atom/packages/linter-eslint\r\nnpm install\r\n```\r\n\r\n#### How to compile the source files\r\n\r\n```\r\ncd ~/.atom/packages/linter-eslint\r\nucompiler go src\r\n```\r\n\r\n### EDIT\r\n\r\nNow `npm i` in the project directory should install all needed deps.\r\n\r\n#### Commands\r\n\r\nCompile:\r\n```bash\r\nnpm run compile\r\n```\r\n\r\nPublish:\r\n```bash\r\nnpm run apm-publish -- <bump_type>\r\n```\r\n(publishing will always build a clean version of the assets)\r\n\r\n\r\n<!-- Reviewable:start -->\r\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/atomlinter/linter-eslint/344)\r\n<!-- Reviewable:end -->\r\n"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/comments/162793747","html_url":"https://github.com/AtomLinter/linter-eslint/pull/344#issuecomment-162793747","issue_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/344","id":162793747,"user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T06:51:44Z","updated_at":"2015-12-08T06:51:44Z","body":"Also, this PR is too large, I've decided to create a branch on this repo and do stuff one-by-one to make the review easier"}}