225

Language: Swift
Checks: 75+
Categories: Style, Conventions

A tool to enforce Swift style and conventions, loosely based on GitHub's Swift Style Guide.

Enable the Plugin

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

plugins:
  swiftlint:
    enabled: true

Configure the Plugin

SwiftLint can be configured by adding a .swiftlint.yml to the root of your repo. For more detailed configuration info, check out the official SwiftLint docs.

Adding a .swiftlint.yml

You'll need to add a .swiftlint.yml config file to your project if it doesn't have one already.

Understand the Plugin

For more information about all the checks available and their configuration options, please check out the official documentation.