I am looking to disable a couple of SwiftLint rules for the unit tests within my application.
For example I am wanting to disable the weak_delegate
rule for my unit tests.
Having looked at the SwiftLint docs I think it may be possible by defining a custom weak_delegate rule and excluding the path to my unit tests.
You can disable them at a local level using:
or at target level, by modifying your .swiftlint.yml file (hidden)
or at project level, by modifying your .swiftlint.yml file (hidden)