Skip to content

Releases: realm/SwiftLint

0.1.1: Top Loading

29 May 16:46
Compare
Choose a tag to compare

Open Source is pretty great! We've received lots of external contributions in the week since publishing SwiftLint. Keep them coming! ✨

Breaking
  • The Rule and ASTRule protocol members are now non-static.
    aarondaub
  • Split Rule into Rule and ParameterizedRule protocols.
    aarondaub
    #21
Enhancements
  • Added a command line option --path to specify a path to lint.
    Lars Lockefeer
    #16
  • swiftlint now returns a non-zero error code when a warning of high-severity
    or above is found in the source files being linted.
    Pat Wallace
    #30
  • Added rules command to display which rules are currently applied along
    with examples.
    Chris Eidhof
  • Cache parsing to reduce execution time by more than 50%.
    Nikolaj Schumacher
  • Added ControlStatementRule to make sure that if/for/while/do statements
    do not wrap their conditionals in parentheses.
    Andrea Mazzini
  • Character position is now included in violation location where appropriate.
    JP Simard
    #62
  • The following rules now conform to ASTRule:
    FunctionBodyLength, Nesting, TypeBodyLength, TypeName, VariableName.
    JP Simard
Bug Fixes
  • Trailing newline and file length violations are now displayed in Xcode.
    JP Simard
    #43

0.1.0: Fresh Out Of The Dryer

18 May 05:11
Compare
Choose a tag to compare