A Visual Studio Code extension to lint Swift with SwiftLint
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
.editorconfig
.gitignore
.vscodeignore init Nov 21, 2015
LICENSE
README.md
extension.js
fixture.swift
icon.svg
package.json
parser.js
screenshot.png init Nov 21, 2015
server.js

README.md

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.