Skip to content
Alykhan Kanji edited this page Apr 25, 2016 · 5 revisions

Tailor

Tailor is a cross-platform static analysis and lint tool for source code written in Apple's Swift programming language. It analyzes your code to ensure consistent styling and help avoid bugs.

Language: Swift

Checks: 31

Categories: Style, Bug Risk, Complexity

Tailor Version: 0.9.0

Enable the Engine

To enable Tailor analysis, add the following to your .codeclimate.yml configuration file:

engines:
  tailor:
    enabled: true

ratings:
  paths:
  - "**.swift"

You can also enable the engine via the CLI with codeclimate engines:enable tailor. This will create a default configuration file for you if you don't already have one.

More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate.

Configure the Engine

Configuration documentation is available here: https://github.com/sleekbyte/tailor#configuration.

Understand the Engine

For more information about all the checks available and their configuration options, please check out the documentation here: https://github.com/sleekbyte/tailor/wiki.

Clone this wiki locally