SwiftLint v0.50.1 Release Notes

  • 💥 Breaking

    • None.

    Experimental

    • None.

    ✨ Enhancements

    • 🚚 Moved the validation of doc comments in local scopes out of orphaned_doc_comment and into a new opt-in local_doc_comment rule.
      JP Simard #4573

    • 👕 SwiftLint's Swift Package Build Tool Plugin will now only scan files in the target being built.
      Tony Arnold #4406

    🐛 Bug Fixes

    • 🛠 Fix building with swift build -c release.
      JP Simard #4559 #4560

    • Fix false positives in lower_acl_than_parent when the nominal parent is an extension.
      Steffen Matthischke #4564

    • Fix minimum_fraction_length handling in number_separator.
      JP Simard #4576

    • 🛠 Fix false positives in closure_spacing.
      JP Simard #4565 #4582

    • 🛠 Fix line count calculation for multiline string literals.
      JP Simard #4585

    • Fix false positives in unused_closure_parameter when using identifiers with backticks.
      JP Simard #4588

    • 🛠 Fix type_name regression where names with backticks would trigger violations.
      JP Simard #4571