{"repo":"realm/SwiftLint","free":true,"listed":false,"github":"https://github.com/realm/SwiftLint","clone":"git clone https://github.com/realm/SwiftLint.git","description":"A tool to enforce Swift style and conventions.","language":"Swift","stars":19701,"topics":["linter","linting","swift","static-analysis","code-quality","hacktoberfest"],"license":"MIT","category":"dev-tools","readme_excerpt":"SwiftLint A tool to enforce Swift style and conventions, loosely based on the now archived GitHub Swift Style Guide. SwiftLint enforces the style guide rules that are generally accepted by the Swift community. These rules are well described in popular style guides like Kodeco's Swift Style Guide. SwiftLint rules are predominantly based on SwiftSyntax. Some rules still hook into Clang and SourceKit to access type information. This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Switch Language: 中文, 한국어 Video Introduction To get a high-level overview of SwiftLint, we encourage you to watch this presentation recorded January 9th, 2017 by JP Simard (transcript provided): Installation Swift Package Manager SwiftLint can be used as a command plugin or a build tool plugin. Add to your Package.swift file to consume the latest release of SwiftLint automatically or pin the dependency to a specific version: Therein, replace with the desired minimum or exact version. [!NOTE] Consuming the plugins directly from the SwiftLint repository comes with several drawbacks. To avoid them and reduce the overhead imposed, it's highly recommended to consume the plugins from the dedicated SwiftLintPlugins repository, even though plugins from the SwiftLint repository are also absolutely functional. If the plugins from SwiftLint are preferred, just use the URL https://github.com/realm/SwiftLint in the package declarations above. Howeve","default_branch":null,"files":null,"tree":[],"storefront":"/r/realm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/realm/SwiftLint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}