Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何类似于 swiftlint 但可以轻松(15-30 分钟)自动纠正违反规则的工具?
场景:“规则 - 注释开头应该有空格和大写字母”错误的第 1 行:“//第 1 行”应该自动更正为“// 第 1 行”
swiftlint 具有自动更正功能。赶紧跑:
swiftlint autocorrect
见https://github.com/realm/SwiftLint