Skip to main content

A script to be run from Xcode to lint files as you make changes

Project description

Selective (Swift) Linter

This is a package to be used to lint changes in .swift files using Swiftlint Installed via Homebrew. It's meant to be used as a run script in Xcode.

Installation and Dependencies

To install swiftlint from the terminal use Homebrew:

$ brew install swiftlint

To install this Python3 package

$ pip3 install selective_linter

To install this into an Xcode project, add the following run script build phase in project settings:

Shell: /usr/bin/env bash

if [ "${CONFIGURATION}" == "Debug" ]; then
    if which selective_linter >/dev/null; then
      selective_linter
    fi
fi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for selective-linter, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size selective_linter-1.0.1-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size selective_linter-1.0.1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page