{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1292","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1292/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1292/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1292/events","html_url":"https://github.com/jscs-dev/node-jscs/pull/1292","id":69915255,"number":1292,"title":"Preset: Mozilla","user":{"login":"SimenB","id":1404810,"avatar_url":"https://avatars.githubusercontent.com/u/1404810?v=3","gravatar_id":"","url":"https://api.github.com/users/SimenB","html_url":"https://github.com/SimenB","followers_url":"https://api.github.com/users/SimenB/followers","following_url":"https://api.github.com/users/SimenB/following{/other_user}","gists_url":"https://api.github.com/users/SimenB/gists{/gist_id}","starred_url":"https://api.github.com/users/SimenB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimenB/subscriptions","organizations_url":"https://api.github.com/users/SimenB/orgs","repos_url":"https://api.github.com/users/SimenB/repos","events_url":"https://api.github.com/users/SimenB/events{/privacy}","received_events_url":"https://api.github.com/users/SimenB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-21T18:16:44Z","updated_at":"2015-04-21T18:57:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1292","html_url":"https://github.com/jscs-dev/node-jscs/pull/1292","diff_url":"https://github.com/jscs-dev/node-jscs/pull/1292.diff","patch_url":"https://github.com/jscs-dev/node-jscs/pull/1292.patch"},"body":"My first try at making a preset, hopefully not too bad. Is there any rule about the order of the rules in the preset? Alphabetic, some grouping, etc.\r\n\r\nStyle-guide: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style\r\n\r\nThe Java part mentions `One declaration per line`. Should `requireMultipleVarDecl` be included?\r\n\r\nIt's mentioned that `case` that declares variables should have braces, but not others. Any rule fitting for that? In JS not so relevant, maybe (unless using `let`)?\r\n\r\nK&R bracing style, any way to differentiate between class/function declarations and control structures? Like options to `requireNewlineBeforeBlockStatements`\r\n\r\n> Break long conditions after `&&` and `||`\r\n\r\nAny way to assert that?"},"comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments/94904714","html_url":"https://github.com/jscs-dev/node-jscs/pull/1292#issuecomment-94904714","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1292","id":94904714,"user":{"login":"SimenB","id":1404810,"avatar_url":"https://avatars.githubusercontent.com/u/1404810?v=3","gravatar_id":"","url":"https://api.github.com/users/SimenB","html_url":"https://github.com/SimenB","followers_url":"https://api.github.com/users/SimenB/followers","following_url":"https://api.github.com/users/SimenB/following{/other_user}","gists_url":"https://api.github.com/users/SimenB/gists{/gist_id}","starred_url":"https://api.github.com/users/SimenB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimenB/subscriptions","organizations_url":"https://api.github.com/users/SimenB/orgs","repos_url":"https://api.github.com/users/SimenB/repos","events_url":"https://api.github.com/users/SimenB/events{/privacy}","received_events_url":"https://api.github.com/users/SimenB/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T18:57:13Z","updated_at":"2015-04-21T18:57:13Z","body":"@hzoo That style guide also says to use double quotes, while the source files in the same repo use single."}}