Skip to content

Releases: sleekbyte/tailor

Tailor 0.12.0

27 Mar 03:17
Compare
Choose a tag to compare

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

Tailor 0.11.1

12 Oct 05:37
Compare
Choose a tag to compare

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

Tailor 0.11.0

23 Sep 07:48
Compare
Choose a tag to compare

This release updates the grammar to support Swift 3.0.

Changes

  • #432: Update grammar to support Swift 3.0

Tailor 0.10.1

24 Aug 22:01
Compare
Choose a tag to compare

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+

Tailor 0.10.0

06 May 14:49
Compare
Choose a tag to compare

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

Tailor 0.9.1

02 May 04:15
Compare
Choose a tag to compare

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

Tailor 0.9.0

23 Apr 19:53
Compare
Choose a tag to compare

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

Tailor 0.8.1

21 Apr 04:17
Compare
Choose a tag to compare

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

Changes

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

Tailor 0.8.0

19 Apr 22:44
Compare
Choose a tag to compare

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

Tailor 0.7.0

23 Mar 04:13
Compare
Choose a tag to compare

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