{"action":"opened","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/1758","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1758/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1758/events","html_url":"https://github.com/bbatsov/rubocop/issues/1758","id":66349045,"number":1758,"title":"Issue when combining ClosingParenthesisIndentation and AlignParameters:with_fixed_indentation","user":{"login":"bquorning","id":22333,"avatar_url":"https://avatars.githubusercontent.com/u/22333?v=3","gravatar_id":"","url":"https://api.github.com/users/bquorning","html_url":"https://github.com/bquorning","followers_url":"https://api.github.com/users/bquorning/followers","following_url":"https://api.github.com/users/bquorning/following{/other_user}","gists_url":"https://api.github.com/users/bquorning/gists{/gist_id}","starred_url":"https://api.github.com/users/bquorning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bquorning/subscriptions","organizations_url":"https://api.github.com/users/bquorning/orgs","repos_url":"https://api.github.com/users/bquorning/repos","events_url":"https://api.github.com/users/bquorning/events{/privacy}","received_events_url":"https://api.github.com/users/bquorning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-04T18:12:49Z","updated_at":"2015-04-04T18:12:49Z","closed_at":null,"body":"I like to configure `Style/AlignParameters` with `EnforcedStyle: with_fixed_indentation`, which would allow me code like this:\r\n```rb\r\nputs(1,\r\n  foo: 'bar',\r\n  one: 'two'\r\n)\r\n```\r\nOn the latest master (933d084f7df1c68663db07f13e2d1a17b3e195b4), `Style/ClosingParenthesisIndentation` tells me to indent the closing parenthesis:\r\n```rb\r\nputs(1,\r\n  foo: 'bar',\r\n  one: 'two'\r\n    )\r\n```\r\nI *could* move the `1` argument to a separate line, but I would rather keep the non-hash arguments on the same line as the method call, and the options hash on separate lines. Explicitly, I guess it would be:\r\n```rb\r\nputs(1, {\r\n  foo: 'bar',\r\n  one: 'two'\r\n})\r\n```"}}