发布于 2017-07-03 00:03:22 | 81 次阅读 | 评论: 0 | 来源: 网友投递
SwiftLint Swift 实用工具
SwiftLint 是一个实用的工具,用于实现 Swift 的风格,它基于 GitHub's Swift Style Guide 。SwiftLint 挂到 Clang 和 SourceKit 上,通过使用 AST 来更精确地展示你的源文件。
SwiftLint 0.20.1 已发布,
更新内容:
Fix typo in FatalErrorMessageRule
.
Don't trigger an extension_access_modifier
violation when all extension members are open
, as open extension
is not supported by Swift.
Don't trigger a vertical_parameter_alignment_on_call
violation when trailing closures are used.
Make vertical_parameter_alignment_on_call
more flexible when multiline parameters are used.
Use the directory's .swiftlint.yml when --path
is used.
下载地址: