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