SwiftLint v0.7.0 Release Notes
-
๐ฅ Breaking
Replaced all uses of
XPCDictionary
with[String: SourceKitRepresentable]
.
JP SimardVariableNameMinLengthRule
andVariableNameMaxLengthRule
have been removed.VariableNameRule
now has this functionality.
Scott Hoyt๐
ViolationLevelRule
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 #268TypeNameRule
andVariableNameRule
conform toConfigProviderRule
usingNameConfig
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