SwiftLint v0.6.0 Release Notes

  • ๐Ÿ’ฅ Breaking
    • ๐Ÿ”ง ParameterizedRule is removed. Use ConfigurableRule instead.
      Scott Hoyt #353

    • To activate a Rule, it must be added to the global masterRuleList.
      Scott Hoyt

    โœจ Enhancements
    • ๐Ÿ‘€ ConfigurableRule protocol allows for improved rule configuration. See CONTRIBUTING for more details.
      Scott Hoyt #303

    • ๐Ÿ‘ VariableNameMinLengthRule now supports excluding certain variable names (e.g. "id").
      Scott Hoyt #231

    • ๐Ÿ”ง ViolationLevelRule provides default ConfigurableRule 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

    • ๐Ÿ‘ Opt-in rules are now supported.
      JP Simard #256

    • โž• Add LegacyConstantRule.
      Aaron McTavish #319

    • โž• Add opt-in rule to encourage checking isEmpty over comparing count to zero.
      JP Simard #202

    • โž• Add opt-in "Missing Docs" rule to detect undocumented public declarations.
      JP Simard

    ๐Ÿ› Bug Fixes
    • None.