Socket
Socket
Sign inDemoInstall

selective-linter

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    selective-linter

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


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc