Cross-platform static analyzer and linter for Swift.
This release adds support for parsing new access modifiers (fileprivate
and open
) introduced in Swift 3.0. It also ensures that Enumeration Cases follow lowerCamelCase naming conventions.
This release adds an HTML output format, offers configuration functionality for tuning memory usage, and improves the reliability of the [brace-style]
rule.
--format html
(CLI) / format: html
(.tailor.yml
)--purge <1-999>
(CLI) / purge: <1-999>
(.tailor.yml
) option for tuning memory usage[brace-style]
checks whitespace between {
and the previous tokenThis release ensures that closure signatures contain a single whitespace preceding any (
, removes [trailing-closure]
checks inside condition clauses, and improves parsing of attributes, string interpolation, getters / setters, and external parameter names.
nonmutating set
)(
in closure signatures are preceded by one whitespace[trailing-closure]
checks within condition clausesThis release allows regions to be excluded from analysis via // tailor:off
and // tailor:on
directives, fixes parsing of the #selector
macro, adds more documentation to the Code Climate format, and reduces [todo-syntax]
warnings.
// tailor:off
and // tailor:on
comments to exclude regions from analysis#selector
macro is parsed correctly (Swift 2.2)[todo-syntax]
checks to comments containing TODO
as an independent wordThis release adds a new format for integration with the Code Climate platform, adds new configuration options to the .tailor.yml
config file, and fixes several grammar issues.
.tailor.yml
safe
to valid Swift identifiers, allow named parameter subscripts, and let
in import
statements