{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/144","labels_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/144/comments","events_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/144/events","html_url":"https://github.com/algolia/algoliasearch-helper-js/pull/144","id":93819237,"number":144,"title":"style: run jsfmt on current code","user":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-08T15:29:31Z","updated_at":"2015-07-09T11:58:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/pulls/144","html_url":"https://github.com/algolia/algoliasearch-helper-js/pull/144","diff_url":"https://github.com/algolia/algoliasearch-helper-js/pull/144.diff","patch_url":"https://github.com/algolia/algoliasearch-helper-js/pull/144.patch"},"body":"- upgrade eslint configuration to latest (some spacing were not consistent)\r\n- created [algolia/jsfmt](https://github.com/algolia/jsfmt) that can rewrite a whole project according to our style\r\n- add an `npm run jsfmt` script\r\n- run `jsfmt --diff` as part of the linting, so that when code style is not conform, we error. Most of the time, fixing the ESLint errors should get you out of the way of jsfmt.\r\n- If you just want to reformat at any point, do `npm run jsfmt`\r\n\r\nAlso\r\n\r\n```sh\r\nnpm install @algolia/jsfmt -g\r\n```\r\n\r\nTo use it anywhere in any project."},"comment":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/comments/119927607","html_url":"https://github.com/algolia/algoliasearch-helper-js/pull/144#issuecomment-119927607","issue_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/144","id":119927607,"user":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T11:58:42Z","updated_at":"2015-07-09T11:58:42Z","body":"@bobylito I updated the PR with latest changes in eslintconfig and jsfmt, we are good now :)"}}