SwiftLint v0.6.0 Release Notes
-
๐ฅ Breaking
๐ง
ParameterizedRule
is removed. UseConfigurableRule
instead.
Scott Hoyt #353To activate a
Rule
, it must be added to the globalmasterRuleList
.
Scott Hoyt
โจ Enhancements
๐
ConfigurableRule
protocol allows for improved rule configuration. SeeCONTRIBUTING
for more details.
Scott Hoyt #303๐
VariableNameMinLengthRule
now supports excluding certain variable names (e.g. "id").
Scott Hoyt #231๐ง
ViolationLevelRule
provides defaultConfigurableRule
implementation for rules that only need integer error and warning levels.
Scott Hoytโ Add AutoCorrect for StatementPositionRule.
Raphael Randschauโ Add AutoCorrect for CommaRule.
Raphael Randschauโ Add AutoCorrect for LegacyConstructorRule.
Raphael Randschau๐ Improve performance of
LineLengthRule
.
Norio Nomuraโ Add ConditionalBindingCascadeRule.
Aaron McTavish #202โ Add LegacyConstantRule.
Aaron McTavish #319โ Add opt-in rule to encourage checking
isEmpty
over comparingcount
to zero.
JP Simard #202โ Add opt-in "Missing Docs" rule to detect undocumented public declarations.
JP Simard
๐ Bug Fixes
- None.