MakeAWishFoundation/SwiftyMocky

How to add generated file with swiftlint rules in version 4.2.0 with new Mockfile format

Closed this issue · 1 comments

Team first of all Thanks for wonderful library.
And here is my doubt
I am using swiftlint in my project want to add swiftlint rule in generated mockfile. Since if i add manually the rule every-time I regenerate mocks it will remove. I am using new Mockfile pattern

eg
ReachabilityServiceProtocol:
sources:
include:
- ./../*****/ReachabilityServiceProtocol.swift
output: ./****/ReachabilityServiceProtocolMock.swift
targets:

  • ServicesTests
    testable:

import:

  • Core

How to use excludedSwiftLintRules: Can anyone help.

fix via mock template update