You can specify folders and files in the excluded
section of the .swiftlint.yml
file as discussed in the documentation.
E.g., you might have an excluded
section like so:
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
- Source/ExcludedFolder
- Source/ExcludedFile.swift
- Source/*/ExcludedFile.swift # Exclude files with a wildcard