{"action":"created","issue":{"url":"https://api.github.com/repos/feross/standard/issues/379","labels_url":"https://api.github.com/repos/feross/standard/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/379/comments","events_url":"https://api.github.com/repos/feross/standard/issues/379/events","html_url":"https://github.com/feross/standard/issues/379","id":125863026,"number":379,"title":"Rules inconsistency: function declaration and function invocation, with or without space between function name and `(`","user":{"login":"xieranmaya","id":2993947,"avatar_url":"https://avatars.githubusercontent.com/u/2993947?v=3","gravatar_id":"","url":"https://api.github.com/users/xieranmaya","html_url":"https://github.com/xieranmaya","followers_url":"https://api.github.com/users/xieranmaya/followers","following_url":"https://api.github.com/users/xieranmaya/following{/other_user}","gists_url":"https://api.github.com/users/xieranmaya/gists{/gist_id}","starred_url":"https://api.github.com/users/xieranmaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xieranmaya/subscriptions","organizations_url":"https://api.github.com/users/xieranmaya/orgs","repos_url":"https://api.github.com/users/xieranmaya/repos","events_url":"https://api.github.com/users/xieranmaya/events{/privacy}","received_events_url":"https://api.github.com/users/xieranmaya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-11T02:31:45Z","updated_at":"2016-01-11T03:25:38Z","closed_at":"2016-01-11T03:25:38Z","body":"Function declaration:\r\n```js\r\nfunction fun (arg) { //space between fn name and (\r\n}\r\n```\r\nFunction invocation:\r\n```js\r\nfun(123) //no space between fn name and (\r\n```\r\n\r\nI think it's and inconstancy and the above one do not need SO MUCH spaces and JSbeautifier removes the space between fn name and the `(`, thus large amount old code do not follow the Standard.\r\n\r\nMost popular frameworks/libraries also do not reverse the space between function name and the `(`, like Angular, Lodash and React:\r\nAngular: https://github.com/angular/angular.js/blob/master/src/ng/controller.js#L26\r\nLodash: https://github.com/lodash/lodash/blob/master/lodash.js#L381\r\nReact: https://github.com/facebook/react/blob/master/src/isomorphic/classic/element/ReactElement.js#L114\r\n\r\nChrome DevTools also format it without spaces:\r\n![image](https://cloud.githubusercontent.com/assets/2993947/12225924/2d5f8cd4-b84f-11e5-8603-b00255a7dc2f.png)\r\n"},"comment":{"url":"https://api.github.com/repos/feross/standard/issues/comments/170423855","html_url":"https://github.com/feross/standard/issues/379#issuecomment-170423855","issue_url":"https://api.github.com/repos/feross/standard/issues/379","id":170423855,"user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T03:25:38Z","updated_at":"2016-01-11T03:25:38Z","body":"https://github.com/feross/standard#i-disagree-with-rule-x-can-you-change-it"}}