We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OK. I came across an actual conflict. "Seattle-Style" eschews parens on method declarations unless the args span multiple lines:
def self.pie_chart(diameter, pct_green, good_color = PNG::Color::Green, bad_color = PNG::Color::Red)
This is usually only when there are long names or defaults that cause the declaration to go over 80 chars.
The defaults are currently:
Style/MethodDefParentheses: EnforcedStyle: require_parentheses SupportedStyles: - require_parentheses - require_no_parentheses
but could use another, called require_no_parethesis_except_multiline or something.
require_no_parethesis_except_multiline
The text was updated successfully, but these errors were encountered:
Sounds reasonable to me.
Sorry, something went wrong.
[Fix rubocop#1729] Add require_no_parentheses_except_multiline style …
6c5d8fb
…for Style/MethodDefParentheses
No branches or pull requests
OK. I came across an actual conflict. "Seattle-Style" eschews parens on method declarations unless the args span multiple lines:
This is usually only when there are long names or defaults that cause the declaration to go over 80 chars.
The defaults are currently:
but could use another, called
require_no_parethesis_except_multiline
or something.The text was updated successfully, but these errors were encountered: