Lint Swift files using swiftlint to offer style advice


License
MIT
Install
apm install linter-swiftlint@1.3.1

Documentation

linter-swiftlint

This linter plugin for Linter provides an interface to SwiftLint's styling advice. Used with files that have the Swift syntax.

Installation

As well, install SwiftLint.

Plugin installation

$ apm install linter-swiftlint

Settings

You can configure linter-swiftlint by editing ~/.atom/config.cson (choose Open Your Config in Atom menu):

  "linter-swiftlint":
    configurationPath: ".swiftlint.yml"
    swiftlintExecutablePath: "/usr/local/bin/swiftlint"

Contributing

If you would like to contribute enhancements or fixes, please do the following:

  1. Fork the plugin repository.
  2. Hack on a separate topic branch created from the latest master.
  3. Commit and push the topic branch.
  4. Make a pull request.
  5. welcome to the club

Please note that modifications should follow these coding guidelines:

  • Indent is 2 spaces.
  • Code should pass coffeelint linter.
  • Vertical whitespace helps readability, don’t be afraid to use it.

Thank you for helping out!