Tailor (original) (raw)

Tailor

Tailor. Cross-platform static analyzer and linter for Swift.

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

Tailor supports Swift 3 out of the box and helps enforce style guidelines outlined in theThe Swift Programming Language,GitHub,Ray Wenderlich, andCoursera style guides.

View on GitHub

Installation

Requires Java (JRE or JDK) Version 8 or above: Java SE Downloads

Homebrew

Mac OS X (10.10+), Linux

curl -fsSL https://sleekbyte.github.io/tailor/install.sh | sh

Windows (10+)

iex (new-object net.webclient).downloadstring('https://sleekbyte.github.io/tailor/install.ps1')

Usage

Run Tailor with a list of files and directories to analyze, or via Xcode.

$ tailor [options] [--] [[file|directory] ...]