You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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