Skip to content

0.2.0: Tumble Dry

Compare
Choose a tag to compare
@jpsim jpsim released this 30 Sep 16:58
· 6586 commits to main since this release
Breaking
  • SwiftLint now exclusively supports Swift 2.0.
    JP Simard
    #77
  • ViolationSeverity now has an associated type of String and two members:
    .Warning and .Error.
    JP Simard
    #113
Enhancements
  • Configure SwiftLint via a YAML file:
    Supports disabled_rules, included, excluded and passing parameters to
    parameterized rules.
    Pass a configuration file path to --config, defaults to .swiftlint.yml.
    JP Simard
    #1
    #3
    #20
    #26
  • Updated TypeNameRule and VariableNameRule to allow private type & variable
    names to start with an underscore.
    JP Simard
  • Disable and re-enable rules from within source code comments using
    // swiftlint:disable $IDENTIFIER and // swiftlint:enable $IDENTIFIER.
    JP Simard
    #4
  • Add --strict lint flag which makes the lint fail if there are any
    warnings.
    Keith Smiley
  • Violations are now printed to stderr.
    Keith Smiley
  • Custom reporters are now supported. Specify a value for the reporter: key in
    your configuration file. Available reporters are xcode (default), json,
    csv.
    JP Simard
    #42
Bug Fixes
  • Improve performance of TrailingWhitespaceRule.
    Keith Smiley
  • Allow newlines in function return arrow.
    JP Simard