Repository navigation
0.4.0: Wrinkle Release
Lots of cool new/fixed rules in this release. Thanks to @wfleming & @mmorier for their contributions!
Breaking
- API: Rename RuleExample to RuleDescription, remove StyleViolationType and
combine Rule().identifier and Rule().example into Rule.description.
JP Simard
#183
Enhancements
- The
VariableNameRulenow allows capitalized variable names when they are
declared static. This allows stylistic usage common in cases like
OptionSetTypesubclasses.
Will Fleming - Add
VariableNameMaxLengthRuleandVariableNameMinLengthRuleparameter
rules. Remove length checks onVariableNameRule.
Mickael Morier - Add trailing semicolon rule.
JP Simard - Add force try rule.
JP Simard
Bug Fixes
- All rules now print their identifiers in reports.
JP Simard
#180 ControlStatementRulenow detects all violations.
Mickael Morier
#187ControlStatementRuleno longer triggers a violation for acceptable use of
parentheses.
Mickael Morier
#189- Nesting rule no longer triggers a violation for enums nested one level deep.
JP Simard
#190 ColonRulenow triggers a violation even if equal operator is collapse to
type and value.
Mickael Morier
#135