SwiftLint v0.50.1 Release Notes

  • ๐Ÿ’ฅ Breaking
    • None.
    • 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