0

How can I apply the native file_name SwiftLint rule specifically to test files (files ending with test or tests in their name)?

asked Jun 12, 2023 at 11:15
2
  • Use multiple config files maybe: github.com/bulldozair/mobile-ios/issues/622 ? Commented Jun 12, 2023 at 11:58
  • you can try linting those files over the terminal like below swiftlint lint path/to/MyFileTest.swift But the output will be visible on the terminal using the above command. Hope it helps. Commented Jul 7, 2023 at 17:25

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.