SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

various fixes for Windows path handling

Open compnerd opened this issue 1 month ago • 1 comments

An assortment of fixes that improve the test coverage on Windows. With this set, local testing reveals 1 failure (RemoteCycleDetection) and another set of test failures due to Windows globbing not matching the POSIX semantics.

compnerd avatar Dec 02 '25 14:12 compnerd

1 Warning
:warning: If this is a user-facing change, please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
19 Messages
:book: Building this branch resulted in the same binary size as when built on main.
:book: Linting Aerial with this PR took 0.74 s vs 0.79 s on main (6% faster).
:book: Linting Alamofire with this PR took 1.01 s vs 1.05 s on main (3% faster).
:book: Linting Brave with this PR took 6.79 s vs 6.88 s on main (1% faster).
:book: Linting DuckDuckGo with this PR took 22.39 s vs 22.47 s on main (0% faster).
:book: Linting Firefox with this PR took 10.84 s vs 10.96 s on main (1% faster).
:book: Linting Kickstarter with this PR took 7.59 s vs 7.71 s on main (1% faster).
:book: Linting Moya with this PR took 0.4 s vs 0.46 s on main (13% faster).
:book: Linting NetNewsWire with this PR took 2.21 s vs 2.3 s on main (3% faster).
:book: Linting Nimble with this PR took 0.6 s vs 0.63 s on main (4% faster).
:book: Linting PocketCasts with this PR took 6.99 s vs 7.03 s on main (0% faster).
:book: Linting Quick with this PR took 0.39 s vs 0.41 s on main (4% faster).
:book: Linting Realm with this PR took 3.24 s vs 3.28 s on main (1% faster).
:book: Linting Sourcery with this PR took 1.73 s vs 1.78 s on main (2% faster).
:book: Linting Swift with this PR took 4.26 s vs 4.32 s on main (1% faster).
:book: Linting SwiftLintPerformanceTests with this PR took 0.32 s vs 0.34 s on main (5% faster).
:book: Linting VLC with this PR took 1.04 s vs 1.12 s on main (7% faster).
:book: Linting Wire with this PR took 17.36 s vs 17.36 s on main (0% slower).
:book: Linting WordPress with this PR took 11.41 s vs 11.42 s on main (0% faster).

Here's an example of your CHANGELOG entry:

* various fixes for Windows path handling.  
  [compnerd](https://github.com/compnerd)
  [#issue_number](https://github.com/realm/SwiftLint/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by :no_entry_sign: Danger

SwiftLintBot avatar Dec 02 '25 14:12 SwiftLintBot