Home

Awesome

vscode-swiftlint

Dependency Status devDependency Status

A Visual Studio Code extension to lint Swift with SwiftLint:

enforce Swift style and conventions, loosely based on GitHub's Swift Style Guide

screenshot

Installation

  1. Ensure swiftlint binary is installed.
  2. Run Install Extension command from Command Palette.
  3. Search and choose swiftlint.

See the extension installation guide for details.

Usage

Enable the linter in the VS Code settings.

{
  "swiftlint.enable": true
}

You can also configure SwiftLint by adding a .swiftlint.yml file to the workspace directory.

License

Copyright (c) 2015 Shinnosuke Watanabe

Licensed under the MIT License.