[#730] Swiftlint picks the wrong files (#731)

This adds the `included` rule to specify which folders to lint
Closes #730
This commit is contained in:
Francisco Gindre 2023-01-23 06:09:02 -03:00 committed by GitHub
parent f7668e8e73
commit ec0adfcd25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -1,8 +1,13 @@
# This SwiftLint file is based on this great guideline.
# https://github.com/raywenderlich/swift-style-guide
included:
- Sources/ZcashLightClientKit/
- Tests/
- Example/ZcashLightClientSample/ZcashLightClientSample
- Example/ZcashLightClientSample/ZcashLightClientSampleTests
excluded:
- xctemplates
- xctemplates/
- Sources/ZcashLightClientKit/Service/ProtoBuf/compact_formats.pb.swift
- Sources/ZcashLightClientKit/Service/ProtoBuf/service.pb.swift
- Sources/ZcashLightClientKit/Service/ProtoBuf/service.grpc.swift
@ -10,6 +15,8 @@ excluded:
- Tests/TestUtils/TestVector.swift
- Tests/OfflineTests/BirthdayTests.swift
- ZcashLightClientKitTests/Constants.generated.swift
- build/
- docs/
disabled_rules:
- notification_center_detachment