0.7.0: Automatic Permanent Press
This is a big release, with lots of improvements especially with regards to configuration. Big thanks to @scottrhoyt, @marcelofabri, @norio-nomura & @garnett for their contributions to this release! 🎉
Breaking
- Replaced all uses of
XPCDictionarywith
[String: SourceKitRepresentable].
JP Simard VariableNameMinLengthRuleandVariableNameMaxLengthRulehave been
removed.VariableNameRulenow has this functionality.
Scott HoytViolationLevelRulehas been removed. This functionality is now provided
byConfigProviderRuleandSeverityLevelsConfig.
Scott Hoyt
Enhancements
TypeBodyLengthRulenow does not count comment or whitespace lines.
Marcelo Fabri
#369FunctionBodyLengthRulenow does not count comment or whitespace lines.
Marcelo Fabri
#258- All
Rules are now configurable in at least their severity:SeverityConfig.
Scott Hoyt
#371
#130
#268 TypeNameRuleandVariableNameRuleconform toConfigProviderRuleusing
NameConfigto supportmin_length,max_length, andexcludednames.
Scott Hoyt
#388
#259
#191- Add
CyclomaticComplexityRule.
Denis Lebedev
Bug Fixes
- Fix crash caused by infinite recursion when using nested config files.
JP Simard
#368 - Fix crash when file contains NULL character.
Norio Nomura
#379