Release Notes - SonarSwift - Version 3.0 - HTML format

False-Positive

  • [SONARSWIFT-265] - FP UnconditionalJumpStatementCheck: "for-in" statement with "where"
  • [SONARSWIFT-299] - Ignore struct extensions in SeveralTypesInOneFileCheck

Bug

New Feature

  • [SONARSWIFT-148] - Rule: Trailing closure syntax should be used for the last argument
  • [SONARSWIFT-149] - Rule S4233: Parentheses should be omitted when trailing closure is the only argument
  • [SONARSWIFT-272] - Feed Cognitive Complexity metric
  • [SONARSWIFT-286] - Rule S3776 : Cognitive Complexity of methods should not be too high
  • [SONARSWIFT-296] - Rule: Return values from functions without side effects should not be ignored
  • [SONARSWIFT-297] - Rule: Collection sizes comparisons should make sense
  • [SONARSWIFT-298] - Support selectors with property accessors
  • [SONARSWIFT-302] - Rule: Filter conditions should be used as predicates to "first"
  • [SONARSWIFT-303] - Rule: Duplicate values should not be passed as arguments
  • [SONARSWIFT-307] - Parse multi-line string literals (Swift 4.0)
  • [SONARSWIFT-308] - Parse key-path expressions (Swift 4)
  • [SONARSWIFT-309] - Parse one-sided ranges (Swift 4.0)
  • [SONARSWIFT-310] - Parse generic subscripts (Swift 4.0)
  • [SONARSWIFT-311] - Parse 'where' clauses in protocols (Swift 4.0)
  • [SONARSWIFT-318] - Support generic-where-clause in subscript declaration (Swift 4.0)
  • [SONARSWIFT-323] - Rule S3661: "try!" should not be used
  • [SONARSWIFT-324] - Rule S3400: Methods should not return constants
  • [SONARSWIFT-326] - Rule S4188: Tuples should not be too large
  • [SONARSWIFT-328] - Rule S4186: "IBInspectable" should be used correctly
  • [SONARSWIFT-329] - Rule S4184: "IBOutlet" variables should be private
  • [SONARSWIFT-332] - Rule S3630: Force casts should not be used
  • [SONARSWIFT-333] - Rule S2148: Underscores should be used to make large numbers readable
  • [SONARSWIFT-338] - Make rule issue highlighting more precise

Improvement

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.