@familyjs/swiftlint-config

1.1.4 • Public • Published

@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. 💙

Dependents (0)

Package Sidebar

Install

npm i @familyjs/swiftlint-config

Weekly Downloads

1

Version

1.1.4

License

MIT

Unpacked Size

2.11 kB

Total Files

3

Last publish

Collaborators

  • nkduy