Latest 0.5
Homepage https://github.com/muyexi/SwiftLinter
License MIT
Platforms ios 8.0
Authors

CocoaPods
license

SwiftLinter help you share lint rules between projects and lint changed Swift source files in your Git repo with SwiftLint.

Installation

pod 'SwiftLinter'

Usage

Add a new "Run Script Phase" with:

"${SRCROOT}/Pods/SwiftLinter/swift-lint.sh"

Or specify autocorrect to autocorrect changed files:

"${SRCROOT}/Pods/SwiftLinter/swift-lint.sh" autocorrect

To change the default rules, fork this repo and edit the config file based on your needs. Learn more from here.

pod 'SwiftLinter', :git => 'YOUR_GIT_REPO'

License

SwiftLinter is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "SwiftLinter",
    "version": "0.5",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "Lint changed files with SwiftLint.",
    "license": "MIT",
    "homepage": "https://github.com/muyexi/SwiftLinter",
    "authors": {
        "muyexi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/muyexi/SwiftLinter.git",
        "tag": "0.5"
    },
    "preserve_paths": [
        "swiftlint.yml",
        "swift-lint.sh",
        "localPods.rb",
        "sourceFiles.rb"
    ]
}

Pin It on Pinterest

Share This