SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

A tool to enforce Swift style and conventions.

Results 379 SwiftLint issues
Sort by recently updated
recently updated
newest added

### New Issue Checklist - [x] Updated SwiftLint to the latest version - [x] I searched for [existing GitHub issues](https://github.com/realm/SwiftLint/issues) ### Describe the bug When two or more protocols are...

bug

### Describe the bug Swiftlint is ignoring disable comments since 0.47.0 and flagging warning and errors when it shouldn't. ##### Complete output when running SwiftLint, including the stack trace and...

bug

Add `explicit_return` opt-in rule that warns against omitting the `return` keyword inside closures, functions and getters. This rule provides behavior opposite to `implicit_return` and complements it. It's disabled by default...

### New Issue Checklist - [x] Updated SwiftLint to the latest version - [x] I searched for [existing GitHub issues](https://github.com/realm/SwiftLint/issues) ### Describe the bug `swiftlint lint` exits with a bus...

bug
SourceKit issue

### New Issue Checklist - [x] Updated SwiftLint to the latest version - [x] I searched for [existing GitHub issues](https://github.com/realm/SwiftLint/issues) ### New rule request Please describe the rule idea, format...

rule-request

Swift has no `protected` modifier. It still is handly. Currently we just make it public and just agree to not use certain functions/fields. This is obviously error prone. Best solution...

question

### New Issue Checklist - [x] Updated SwiftLint to the latest version - [x] I searched for [existing GitHub issues](https://github.com/realm/SwiftLint/issues) ### New rule request Similar to `deployment_target`, we could have...

rule-request

### New Issue Checklist - [x] Updated SwiftLint to the latest version - [x] I searched for [existing GitHub issues](https://github.com/realm/SwiftLint/issues) ---- While updating our code base to use SwiftLint 0.48.0,...

enhancement

Currently custom rules are limited to regular expressions which means they miss out on a lot of the power that the built-in rules can take advantage of. At my company...

discussion

Overview: This PR adds a new rule to enforce access control level (ACL) ordering within types. This rule expands upon the type contents order rule by using the same logic...