SwiftLint
6.6#3 in lintersFree planFree planLinuxmacOSWindows
Visit| Fact | SwiftLint | yamllint |
|---|---|---|
| Configuration | File inclusions and exclusions can be configured in a `.swiftlint.yml` configuration file. | It includes default and relaxed configurations and supports custom configuration files. |
| License | The GitHub repository identifies SwiftLint as MIT licensed. | The GitHub repository identifies the project license as GPL-3.0. |
| Output | The command line supports linting, analysis, baselines, rule listings, and multiple reporters. | It provides a parsable output format for use with tools such as editor syntax highlighting. |
| Purpose | SwiftLint enforces Swift style and conventions based on rules generally accepted by the Swift community. | yamllint checks YAML syntax and issues such as duplicate keys, line length, trailing spaces, and indentation. |
SwiftLint suits developers and teams who want to check Swift code against configurable style rules within their editor, build, or CI workflows. It is intended for valid, compilable Swift source.
You want what its maker publishes above — check its page for the details.