{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/5197","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/5197/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/5197/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/5197/events","html_url":"https://github.com/eslint/eslint/issues/5197","id":132495596,"number":5197,"title":"allowSingleLine in allman style for brace-style","user":{"login":"PhiLhoSoft","id":1087902,"avatar_url":"https://avatars.githubusercontent.com/u/1087902?v=3","gravatar_id":"","url":"https://api.github.com/users/PhiLhoSoft","html_url":"https://github.com/PhiLhoSoft","followers_url":"https://api.github.com/users/PhiLhoSoft/followers","following_url":"https://api.github.com/users/PhiLhoSoft/following{/other_user}","gists_url":"https://api.github.com/users/PhiLhoSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/PhiLhoSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhiLhoSoft/subscriptions","organizations_url":"https://api.github.com/users/PhiLhoSoft/orgs","repos_url":"https://api.github.com/users/PhiLhoSoft/repos","events_url":"https://api.github.com/users/PhiLhoSoft/events{/privacy}","received_events_url":"https://api.github.com/users/PhiLhoSoft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"BYK","id":126780,"avatar_url":"https://avatars.githubusercontent.com/u/126780?v=3","gravatar_id":"","url":"https://api.github.com/users/BYK","html_url":"https://github.com/BYK","followers_url":"https://api.github.com/users/BYK/followers","following_url":"https://api.github.com/users/BYK/following{/other_user}","gists_url":"https://api.github.com/users/BYK/gists{/gist_id}","starred_url":"https://api.github.com/users/BYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYK/subscriptions","organizations_url":"https://api.github.com/users/BYK/orgs","repos_url":"https://api.github.com/users/BYK/repos","events_url":"https://api.github.com/users/BYK/events{/privacy}","received_events_url":"https://api.github.com/users/BYK/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-02-09T18:32:55Z","updated_at":"2016-03-12T10:22:04Z","closed_at":null,"body":"I use the Allman style of braces, so I have this setting in my .eslintrc.yaml file:\r\n  \r\n```\r\nbrace-style:\r\n    - 1\r\n    - allman\r\n    - allowSingleLine: true\r\n```\r\nIf I have this setting, brace style checking is entirely deactivated!\r\nIf I replace `allman` with `stroustrup`, it works, reporting lines with Allman style and not those in Stroustrup style, even on one line.\r\nIf I remove the last line, it works, but it complains on single line braces.\r\n\r\nSometime, eg. when making small objects like `{ id: 'foo' }`, I want to use the single line style.\r\nIs it forbidden for the Allman style? Why?\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/195710520","html_url":"https://github.com/eslint/eslint/issues/5197#issuecomment-195710520","issue_url":"https://api.github.com/repos/eslint/eslint/issues/5197","id":195710520,"user":{"login":"BYK","id":126780,"avatar_url":"https://avatars.githubusercontent.com/u/126780?v=3","gravatar_id":"","url":"https://api.github.com/users/BYK","html_url":"https://github.com/BYK","followers_url":"https://api.github.com/users/BYK/followers","following_url":"https://api.github.com/users/BYK/following{/other_user}","gists_url":"https://api.github.com/users/BYK/gists{/gist_id}","starred_url":"https://api.github.com/users/BYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYK/subscriptions","organizations_url":"https://api.github.com/users/BYK/orgs","repos_url":"https://api.github.com/users/BYK/repos","events_url":"https://api.github.com/users/BYK/events{/privacy}","received_events_url":"https://api.github.com/users/BYK/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T10:22:04Z","updated_at":"2016-03-12T10:22:04Z","body":"@PhiLhoSoft, @aparajita - I took this on since there wasn't much activity. Sorry if I stepped on your toes! :)"}}