Skip to content

0.3.0: Wrinkly Rules

Compare
Choose a tag to compare
@jpsim jpsim released this 03 Nov 21:18

Lots of new rules in this one. Thanks to @S2dentik, @zippy1978, @Tableau-David-Potter for contributing to this release!

Breaking
  • swiftlint rules now just prints a list of all available rules and their
    identifiers.
Enhancements
  • Support for Swift 2.1.
    JP Simard
  • Added StatementPositionRule to make sure that catch, else if and else
    statements are on the same line as closing brace preceding them and after one
    space.
    Alex Culeva
  • Added Comma Rule to ensure there is a single space after a comma.
    Alex Culeva
  • Add rule identifier to all linter reports.
    zippy1978
  • Add OpeningBraceRule to make sure there is exactly a space before opening
    brace and it is on the same line as declaration.
    Alex Culeva
  • Print to stderr for all informational logs. Only reporter outputs is logged to
    stdout.
    JP Simard
  • JSON and CSV reporters now only print at the very end of the linting
    process.
    JP Simard
  • Add support for guard statements to ControlStatementRule.
    David Potter
  • Lint parameter variables.
    JP Simard
Bug Fixes
  • Custom reporters are now supported even when not running with --use-stdin.
    JP Simard
    #151
  • Deduplicate files in the current directory.
    JP Simard
    #154