Rule Request: Avoid multiple statements on a single line separated with semicolons
Open
Nobody has claimed this yet.
good first issue
rule-request
- Dominant language
- Swift
- Stars
- 19.7k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
New Rule Request
Statements should stand on their own line.
-
Why should this rule be added? Share links to existing discussion about what
the community thinks about this.See header.
-
Provide several examples of what would and wouldn't trigger violations.
let a = 1; let b = 2 -
Should the rule be configurable, if so what parameters should be configurable?
Nothing to configure.
-
Should the rule be opt-in or enabled by default? Why?
See README.md for guidelines on when to mark a rule as opt-in.Could be enabled by default as not too many violations are expected.
Contributor guide
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.
Assessment
This issue has not been assessed yet.