问题描述
我在项目的根路径上配置.swiftlint.yml
文件。
-
.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
- 项目结构
Searcher
├── .swiftlint.yml
├── Podfile
├── Pods
├── Searcher
- 构建阶段>运行脚本
${PODS_ROOT}/SwiftLint/swiftlint
SwiftLint可以排除Searcher/AppDelegate.swift
,但不能排除Pods/SnapKit
。我该如何纠正?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)