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
XPCDictionary
with
[String: SourceKitRepresentable]
.
JP Simard VariableNameMinLengthRule
andVariableNameMaxLengthRule
have been
removed.VariableNameRule
now has this functionality.
Scott HoytViolationLevelRule
has been removed. This functionality is now provided
byConfigProviderRule
andSeverityLevelsConfig
.
Scott Hoyt
Enhancements
TypeBodyLengthRule
now does not count comment or whitespace lines.
Marcelo Fabri
#369FunctionBodyLengthRule
now does not count comment or whitespace lines.
Marcelo Fabri
#258- All
Rule
s are now configurable in at least their severity:SeverityConfig
.
Scott Hoyt
#371
#130
#268 TypeNameRule
andVariableNameRule
conform toConfigProviderRule
using
NameConfig
to supportmin_length
,max_length
, andexcluded
names.
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