realm/SwiftLint
Rule Request: Avoid multiple statements on a single line separated with semicolons
开放
#5,829 创建于 2024年10月18日
good first issuerule-request
仓库指标
- 星标
- (19,570 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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.