Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: realm/SwiftLint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.56.0
Choose a base ref
...
head repository: realm/SwiftLint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.56.1
Choose a head ref
  • 4 commits
  • 5 files changed
  • 1 contributor

Commits on Aug 6, 2024

  1. Add new changelog section

    SimplyDanny committed Aug 6, 2024
    Copy the full SHA
    fe4f559 View commit details
  2. Make contrasted_opening_brace opt-in

    SimplyDanny committed Aug 6, 2024
    Copy the full SHA
    248ffaf View commit details
  3. Add changelog entry

    SimplyDanny committed Aug 6, 2024
    Copy the full SHA
    da9406b View commit details
  4. Release 0.56.1

    SimplyDanny committed Aug 6, 2024
    Copy the full SHA
    586dd54 View commit details
Showing with 24 additions and 5 deletions.
  1. +19 −0 CHANGELOG.md
  2. +1 −1 MODULE.bazel
  3. +2 −2 Package.swift
  4. +1 −1 Source/SwiftLintBuiltInRules/Rules/Style/ContrastedOpeningBraceRule.swift
  5. +1 −1 Source/SwiftLintCore/Models/Version.swift
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## 0.56.1: Heat Pump Dryer

#### Breaking

* None.

#### Experimental

* None.

#### Enhancements

* None.

#### Bug Fixes

* Let `contrasted_opening_brace` be an opt-in rule.
[SimplyDanny](https://github.com/SimplyDanny)

## 0.56.0: Heat Pump Dryer

#### Breaking
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "swiftlint",
version = "0.56.0",
version = "0.56.1",
compatibility_level = 1,
repo_name = "SwiftLint",
)
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -172,8 +172,8 @@ let package = Package(
package.targets.append(
.binaryTarget(
name: "SwiftLintBinary",
url: "https://github.com/realm/SwiftLint/releases/download/0.56.0/SwiftLintBinary-macos.artifactbundle.zip",
checksum: "dcf90197f60b9fe4533544a9a3ec0538c9308cadbce2d5b20f5966376c53579a"
url: "https://github.com/realm/SwiftLint/releases/download/0.56.1/SwiftLintBinary-macos.artifactbundle.zip",
checksum: "146ef723e83d301b9f1ef647dc924a55dae293887e633618e76f8cb526292f0c"
)
)
#endif
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import SwiftLintCore
import SwiftSyntax

@SwiftSyntaxRule
struct ContrastedOpeningBraceRule: SwiftSyntaxCorrectableRule {
struct ContrastedOpeningBraceRule: OptInRule, SwiftSyntaxCorrectableRule {
var configuration = SeverityConfiguration<Self>(.warning)

static let description = RuleDescription(
2 changes: 1 addition & 1 deletion Source/SwiftLintCore/Models/Version.swift
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ public struct Version: VersionComparable {
}

/// The current SwiftLint version.
public static let current = Self(value: "0.56.0")
public static let current = Self(value: "0.56.1")

/// Public initializer.
///