1.1.2 • Published 3 years ago
@navify/swiftlint-config v1.1.2
@navify/swiftlint-config
Shared SwiftLint config used in Navify and Jigra projects. This must be used with the swiftlint
wrapper for npm projects.
Usage
- Install the
@navify/swiftlint
wrapper by following these instructions. - Remove existing
.swiftlint.yml
file, if present. Install the config in your project.
npm install -D @navify/swiftlint-config
Configure the swiftlint wrapper by adding a
@navify/swiftlint
key at the root of your project'spackage.json
."@navify/swiftlint": "@navify/swiftlint-config",
Alternatively, to override options, you can create a
swiftlint.config.js
file:module.exports = { ...require('@navify/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.2
3 years ago