0

I configure .swiftlint.yml file on the root path of project.

  1. .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
  1. Project structure
Searcher
├── .swiftlint.yml
├── Podfile
├── Pods
├── Searcher
  1. Build phases > Run Script
${PODS_ROOT}/SwiftLint/swiftlint

SwiftLint can exclude Searcher/AppDelegate.swift but not Pods/SnapKit. How can I correct it please?

betterhee
  • 13
  • 3

0 Answers0