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
VariableNameRule
now allows capitalized variable names when they are
declared static. This allows stylistic usage common in cases like
OptionSetType
subclasses.
Will Fleming - Add
VariableNameMaxLengthRule
andVariableNameMinLengthRule
parameter
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 ControlStatementRule
now detects all violations.
Mickael Morier
#187ControlStatementRule
no 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 ColonRule
now triggers a violation even if equal operator is collapse to
type and value.
Mickael Morier
#135