A plugin that extends Tuist with SwiftLint functionalities.
In order to tell Tuist you'd like to use SwiftLint plugin in your project follow the instructions that are described in Tuist documentation.
The plugin provides a command for linting the Swift code of your projects by leveraging SwiftLint. All you need to do is run the following command:
tuist lint
You can lint selected target by specifing its name:
tuist lint MyTarget
Argument | Short | Description | Default | Required |
---|---|---|---|---|
--path |
-p |
The path to the directory that contains the workspace or project whose code will be linted. | Current directory | No |
--strict |
-s |
Upgrades warnings to serious violations (errors). | No | No |
For additional help you can call:
tuist lint help
Subcommand | Description |
---|---|
tuist lint version-swiftlint |
Outputs the current version of SwiftLint. |
tuist lint version |
Outputs the current version of the plugin. |
To start working on the project, you can follow the steps below:
- Clone the project.
- Run
Package.swift
file.