Skip to content

1.3.0

Latest

Choose a tag to compare

@calda calda released this 01 Dec 18:13
· 2 commits to master since this release
9604524

What's Changed

  • Update SwiftLintBinary to version 0.62.2 by @Iron-Ham in #354
  • Add result builder discussion to redundant memberwise init rule by @calda in #356
  • Generate AI SKILL.md automatically from README, host on style guide website by @calda in #357
  • Update URL for AI skill to https://swift.airbnb.tech/skill by @calda in #359
  • Remove some legacy non-autocorrected style rules by @calda in #358
  • Add site navigation by @calda in #360
  • Filter empty sections from SKILL.md by @calda in #361
  • Add page metadata to site by @calda in #363
  • Escape ! character before backtick by @calda in #362
  • Remove emptyExtensions rule by @calda in #364
  • Add rule to use raw identifiers for Swift Testing test cases by @calda in #366
  • Add rule to omit redundant Swift Testing @Suite macro by @calda in #367
  • Enable superfluous_disable_command and invalid_swiftlint_command SwiftLint rules by @calda in #368
  • Rename redundantProperty rule to redundantVariable by @calda in #369
  • Validate that all rule descriptions have bolded text component by @calda in #370
  • Bump json from 2.16.0 to 2.17.1.2 by @dependabot[bot] in #373
  • Update wording of "Limit consecutive whitespace" rule by @calda in #375
  • Add rule to avoid redundant Swift Testing expectation messages by @calda in #371
  • Add rule to avoid redundant EmptyView branches by @mannylopez in #372
  • Update SwiftFormat --swift-version to 6.3 by @calda in #377
  • Update guiding tenets by @calda in #374
  • Add "Apple Frameworks" section by @calda in #378
  • Include a blank line at the bottom of a type body only if the type body starts a blank line by @calda in #380
  • Add rule to wrap switch case bodies by @calda in #379
  • Add rule to omit SwiftUI Group wrappers where redundant, and prefer @ViewBuilder over Group where equivalent by @calda in #381
  • Add cifilter-builtins style guide rule by @stephenfurlani-cell in #376
  • Add rule: prefer isEmpty over comparing count against zero by @jparise in #383
  • Add rule: prefer flatMap over map { ... }.reduce([], +) by @jparise in #384
  • Add rule: prefer first(where:) over filter(_:).first by @jparise in #386
  • Add rule: prefer contains over range(of:) compared against nil by @jparise in #385
  • Document noGuardInTests updates by @calda in #389
  • Add rule: prefer min() over sorted().first by @jparise in #387
  • Add rule: prefer contains(where:) over first(where:) compared against nil by @jparise in #388
  • Update SwiftFormat links to http://swiftformat.info by @calda in #390
  • Update SwiftFormat build and renamed rules by @calda in #391
  • Merge preferContainsOver{First,Range} README entries into preferContains by @jparise in #392
  • Add new Performance section and include collection-related performance rules in AI skill by @calda in #394
  • Move Performance section below Testing section by @calda in #395
  • Add rule to wrap if statement and if expression bodies by @calda in #396
  • Add rule to reuse the existing identifier when unwrapping an optional by @calda in #393
  • Update swiftformat.info links to https by @calda in #397
  • Fix broken #file / #filePath custom SwiftLint rules by @calda with @Copilot in #398
  • Add rule to omit backticks unless required by the language by @calda in #400
  • Add rule to prefer if expressions over ternary operators in single-expression return values by @calda in #399
  • Add rule: prefer lazy.map before single-pass operations by @jparise in #402
  • Sort @_spi imports last by @calda in #404
  • Add rule: prefer replacing(_:with:) over replacingOccurrences(of:with:) by @mannylopez in #406
  • Avoid using withExtendedLifetime in unit tests by @calda in #405
  • Sort imports with attributes last, alphabetized by the attribute name by @calda in #407
  • Add rule to prefer Swift Testing for new test suites by @calda in #408
  • Update SwiftFormat --swift-version to 6.4 by @calda in #410
  • Add rule: prefer struct for Swift Testing suites by @miguel-jimenez-0529 in #409
  • Adjust examples for Swift Testing expectations rule by @calda in #413
  • Add rule: prefer @ContentBuilder over @ViewBuilder by @miguel-jimenez-0529 in #411
  • Fix typo in --prefer-synthesized-init-for-internal-structs option by @calda in #415
  • Add full rule details to AI skill using rules/ subdirectory structure by @calda in #416
  • Update SwiftFormat to 2026-11-06 and remove deprecated redundantType rule by @calda in #419
  • Add blank lines around multiline statements and before comments by @calda in #417
  • Prefer switch statements over if case statements by @calda in #418
  • Add rule: prefer the zero-argument onChange(of:) closure by @miguel-jimenez-0529 in #420
  • Expand "Don’t include types where they can be easily inferred" rule to cover implicit member expressions / static member lookup by @calda in #421

Full Changelog: 1.2.0...1.3.0