I configure .swiftlint.yml
file on the root path of project.
.swiftlint.yml
:
disabled_rules:
- colon
- comma
- control_statement
- trailing_whitespace
opt_in_rules:
- empty_count
- missing_docs
included:
- Searcher
excluded:
- Carthage
- Pods
- Searcher/AppDelegate.swift
- Searcher/SceneDelegate.swift
- Project structure
Searcher
├── .swiftlint.yml
├── Podfile
├── Pods
├── Searcher
- Build phases > Run Script
${PODS_ROOT}/SwiftLint/swiftlint
SwiftLint can exclude Searcher/AppDelegate.swift
but not Pods/SnapKit
. How can I correct it please?