From da919d414bce6005a94e68c759799b9e49127d86 Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Sun, 24 Nov 2024 13:10:49 +0100 Subject: [PATCH] chore: update README.md (#19) --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e299da8..63fb458 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ Prerequisites: - Install [Swift](https://www.swift.org/) via [Xcode](https://developer.apple.com/xcode/) or [Swift Version Manager](https://github.com/kylef/swiftenv), the supported Swift version is 5.10. -- Install [SwiftFormat](https://github.com/nicklockwood/SwiftFormat). - Install [SwiftLint](https://github.com/realm/SwiftLint). This is a Swift package, it can be installed using the [Swift Package Manager](https://www.swift.org/documentation/package-manager/) and imported in your code as follows: @@ -17,13 +16,17 @@ import VoltaserveCore Format code: ```shell -swiftformat . +swift format -i -r . ``` Lint code: ```shell -swiftlint . +swift format lint -r . +``` + +```shell +swiftlint lint --strict . ``` ## Tests