Skip to content

Regression: Written baseline locates issues in absolute paths #6812

Closed

Description

@oscamv-verkada

New Issue Checklist

Bug Description

Introduced between 0.63.1 and 0.65.0.

When writing the baseline for a swiftlint run, the location of the baselined issues will use the absolute path of the file instead of, as it used to, relative to the working directory.

This makes the produced file unusable for version control use not to mention causes a gigantic diff with the preexisting one.

$ swiftlint --quiet --write-baseline test-baseline.json .

Location of the files will be of the absolute file URL "file:///..."

Environment

  • SwiftLint version: 0.65.0
  • Xcode version: 26.6
  • Installation method used: Homebrew
  • Configuration file:
Irrelevant, it has not been changed in months. I can attach the whole thing if needed.

Are you using nested configurations? No

Activity

  1. self-assigned this
    on Jul 8, 2026
  2. added
    bug
    on Jul 8, 2026
  3. oscamv-verkada commented on Jul 10, 2026

    @oscamv-verkada
    Author

    Wow thanks for the quick response!

    Don't want to impose but can we do a 0.65.1 release for this fix? Or a 0.66.0 if there's other work on top of the current release.

  4. steven-kt commented on Aug 5, 2026

    @steven-kt

    @SimplyDanny any chance we might make a 0.65.1 release for this issue? or if we are planning a 0.66 soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions