Socket
Book a DemoInstallSign in
Socket

@ionic/swiftlint-config

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/swiftlint-config

SwiftLint config for Ionic and Capacitor

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
38K
-0.48%
Maintainers
2
Weekly downloads
 
Created
Source

@ionic/swiftlint-config

Shared SwiftLint config used in Ionic and Capacitor projects. This must be used with the swiftlint wrapper for npm projects.

Usage

  • Install the swiftlint wrapper by following these instructions.

  • Remove existing .swiftlint.yml file, if present.

  • Install the config in your project.

    npm install -D @ionic/swiftlint-config
    
  • Configure the swiftlint wrapper by adding a swiftlint key at the root of your project's package.json.

    "swiftlint": "@ionic/swiftlint-config",
    

    Alternatively, to override options, you can create a swiftlint.config.js file:

    module.exports = {
      ...require('@ionic/swiftlint-config'),
    
      // override options here
    };
    

    It might be worth creating a PR to this config repo first, though! We'd love to discuss changes. :blue_heart:

FAQs

Package last updated on 19 Sep 2024

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.