Releases: realm/SwiftLint
Releases · realm/SwiftLint
0.1.2: FabricSoftenerRule
Lots of new rules in this release, big thanks to our contributors! SwiftLint now smells as fresh as ever. 🌲
Breaking
- None.
Enhancements
- Added
OperatorFunctionWhitespaceRule
to make sure that
you use whitespace around operators when defining them.
Akira Hirakawa
#60 - Added
ReturnArrowWhitespaceRule
to make sure that
you have 1 space before return arrow and return type.
Akira Hirakawa - Support linting from standard input (use
--use-stdin
).
JP Simard
#78 - Improve performance of
TrailingNewlineRule
.
Keith Smiley - Lint parentheses around switch statements.
Keith Smiley
Bug Fixes
- None.
0.1.1: Top Loading
Open Source is pretty great! We've received lots of external contributions in the week since publishing SwiftLint. Keep them coming! ✨
Breaking
- The
Rule
andASTRule
protocol members are now non-static.
aarondaub - Split
Rule
intoRule
andParameterizedRule
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
0.1.0: Fresh Out Of The Dryer
First release!