1.1.4 • Published 1 year ago
@familyjs/swiftlint-config v1.1.4
@familyjs/swiftlint-config
Shared SwiftLint config used in Family and Jigra projects. This must be used with the swiftlint wrapper for npm projects.
Usage
- Install the
@family/swiftlintwrapper by following these instructions. - Remove existing
.swiftlint.ymlfile, if present. Install the config in your project.
npm install -D @familyjs/swiftlint-configConfigure the swiftlint wrapper by adding a
swiftlintkey at the root of your project'spackage.json."swiftlint": "@familyjs/swiftlint-config",Alternatively, to override options, you can create a
swiftlint.config.jsfile: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: