1.1.3 • Published 12 months ago

@familyjs/swiftlint-config v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@familyjs/swiftlint-config

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

Usage

  1. Install the @family/swiftlint wrapper by following these instructions.
  2. Remove existing .swiftlint.yml file, if present.
  3. Install the config in your project.

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

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

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

    module.exports = {
      ...require('@familyjs/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:

1.1.3

12 months ago

1.1.2

12 months ago