rubocop / rubocop/ruby-style-guide
The use of parenthesis; "dsl methods" and multi-line invocations
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 16.5k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
I think that the rule about dsl methods and the absense of parenthesis should be removed from this guide, since what is or not a dsl method is highly subjective.
On the other hand, I'd like to propose that multi-line method invocations should indeed use parenthesis, since it is the only way to make them be auto-indented in emacs.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the guide section covering DSL methods, parentheses, and multi-line invocations, then read the existing wording alongside the eight-comment discussion. Determine the settled recommendation, including the Emacs auto-indentation concern; done means the guide reflects an agreed, unambiguous rule.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs, ruby
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100