{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/736","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/736/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/736/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/736","id":47547166,"number":736,"title":"wrong indent expected after function in condition","user":{"login":"Soarez","id":1357510,"avatar_url":"https://avatars.githubusercontent.com/u/1357510?v=3","gravatar_id":"","url":"https://api.github.com/users/Soarez","html_url":"https://github.com/Soarez","followers_url":"https://api.github.com/users/Soarez/followers","following_url":"https://api.github.com/users/Soarez/following{/other_user}","gists_url":"https://api.github.com/users/Soarez/gists{/gist_id}","starred_url":"https://api.github.com/users/Soarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soarez/subscriptions","organizations_url":"https://api.github.com/users/Soarez/orgs","repos_url":"https://api.github.com/users/Soarez/repos","events_url":"https://api.github.com/users/Soarez/events{/privacy}","received_events_url":"https://api.github.com/users/Soarez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"mikesherov","id":364532,"avatar_url":"https://avatars.githubusercontent.com/u/364532?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesherov","html_url":"https://github.com/mikesherov","followers_url":"https://api.github.com/users/mikesherov/followers","following_url":"https://api.github.com/users/mikesherov/following{/other_user}","gists_url":"https://api.github.com/users/mikesherov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesherov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesherov/subscriptions","organizations_url":"https://api.github.com/users/mikesherov/orgs","repos_url":"https://api.github.com/users/mikesherov/repos","events_url":"https://api.github.com/users/mikesherov/events{/privacy}","received_events_url":"https://api.github.com/users/mikesherov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/milestones/9","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/milestones/9/labels","id":942610,"number":9,"title":"1.11","description":"","creator":{"login":"markelog","id":945528,"avatar_url":"https://avatars.githubusercontent.com/u/945528?v=3","gravatar_id":"","url":"https://api.github.com/users/markelog","html_url":"https://github.com/markelog","followers_url":"https://api.github.com/users/markelog/followers","following_url":"https://api.github.com/users/markelog/following{/other_user}","gists_url":"https://api.github.com/users/markelog/gists{/gist_id}","starred_url":"https://api.github.com/users/markelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markelog/subscriptions","organizations_url":"https://api.github.com/users/markelog/orgs","repos_url":"https://api.github.com/users/markelog/repos","events_url":"https://api.github.com/users/markelog/events{/privacy}","received_events_url":"https://api.github.com/users/markelog/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":5,"state":"open","created_at":"2015-01-19T21:16:33Z","updated_at":"2015-01-28T19:46:51Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2014-11-02T20:10:29Z","updated_at":"2015-01-28T19:48:46Z","closed_at":"2015-01-28T19:46:51Z","body":"```javascript\r\nvar Checker = require('./lib/checker');\r\n\r\nvar checker = new Checker();\r\nchecker.registerDefaultRules();\r\nchecker.configure({ validateIndentation: 2 });\r\n\r\nvar errors = checker.checkString(\r\n    'if ([ 1, 2, 3 ].some(function(n) {\\n' +\r\n    '  return n === 2;\\n' +\r\n    '}))\\n' +\r\n    '  console.log(\"-.-\");\\n' +\r\n    '\\n' +\r\n    'console.log(\"done\");'\r\n);\r\n\r\nconsole.log(errors.getErrorList());\r\n```\r\n\r\nresults in:\r\n\r\n```json\r\n[ { rule: 'validateIndentation',\r\n    message: 'Expected indentation of 2 characters',\r\n    line: 6,\r\n    column: 2 } ]\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments/71902507","html_url":"https://github.com/jscs-dev/node-jscs/issues/736#issuecomment-71902507","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/736","id":71902507,"user":{"login":"cowwoc","id":633348,"avatar_url":"https://avatars.githubusercontent.com/u/633348?v=3","gravatar_id":"","url":"https://api.github.com/users/cowwoc","html_url":"https://github.com/cowwoc","followers_url":"https://api.github.com/users/cowwoc/followers","following_url":"https://api.github.com/users/cowwoc/following{/other_user}","gists_url":"https://api.github.com/users/cowwoc/gists{/gist_id}","starred_url":"https://api.github.com/users/cowwoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowwoc/subscriptions","organizations_url":"https://api.github.com/users/cowwoc/orgs","repos_url":"https://api.github.com/users/cowwoc/repos","events_url":"https://api.github.com/users/cowwoc/events{/privacy}","received_events_url":"https://api.github.com/users/cowwoc/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T19:48:46Z","updated_at":"2015-01-28T19:48:46Z","body":"Happy happy! Joy joy! :) Thanks."}}