Sleekbyte Tailor Versions Save

Cross-platform static analyzer and linter for Swift.

v0.12.0

7 years ago

This release updates the grammar to support Swift 3.0.1. It also fixes a bug that incorrectly flagged escaped identifiers for naming convention violations.

Changes

  • #460: Ignore backticks in variable names
  • #469: Update grammar to support Swift 3.0.1

v0.11.1

7 years ago

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.

Changes

  • #452 Add new Swift 3.0 access modifiers to the grammar
  • #453 Enforce lowerCamelCase naming on Enumeration Cases

v0.11.0

7 years ago

This release updates the grammar to support Swift 3.0.

Changes

  • #432: Update grammar to support Swift 3.0

v0.10.1

7 years ago

This release improves selector parsing and fixes automatic Xcode integration.

Changes

  • #425: Fix grammar issue to improve parsing of expression elements
  • #435: Fix automatic Xcode integration for Ruby 2.3.0+

v0.10.0

8 years ago

This release adds an HTML output format, offers configuration functionality for tuning memory usage, and improves the reliability of the [brace-style] rule.

Changes

  • #389: Add HTML report option via --format html (CLI) / format: html (.tailor.yml)
  • #414: Add --purge <1-999> (CLI) / purge: <1-999> (.tailor.yml) option for tuning memory usage
  • #405: Ensure that [brace-style] checks whitespace between { and the previous token

v0.9.1

8 years ago

This 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.

Changes

  • #385: Fix several grammar issues to improve parsing of attributes, string interpolation
  • #393: Allow declaration modifiers on getters and setters (e.g. nonmutating set)
  • #397: Ensure that (most) keywords can be used as external parameter names without escaping
  • #400: Verify that ( in closure signatures are preceded by one whitespace
  • #401: Suppress [trailing-closure] checks within condition clauses

v0.9.0

8 years ago

This release updates the grammar to support Swift 2.2 and fixes performance issues with parsing interpolated strings.

Changes

  • #376: Update grammar to support Swift 2.2
  • #356: Modify string interpolation lexer rule

v0.8.1

8 years ago

This release adjusts the rule documentation displayed in the Code Climate format.

Changes

  • #371: Remove anchor links from rule examples in Code Climate format

v0.8.0

8 years ago

This 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.

Changes

  • #324: Allow // tailor:off and // tailor:on comments to exclude regions from analysis
  • #354: Ensure #selector macro is parsed correctly (Swift 2.2)
  • #367: Add sample code for rules in Code Climate format
  • #355: Restrict [todo-syntax] checks to comments containing TODO as an independent word

v0.7.0

8 years ago

This 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.

Changes

  • #346: Add Code Climate format
  • #340: Allow customization of format and color options via .tailor.yml
  • #278: Fix parsing of quoted strings within string interpolation
  • #343: Add safe to valid Swift identifiers, allow named parameter subscripts, and let in import statements
  • #349: Fix exception on invalid number of CLI arguments