Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

The default swiftlint.path value is invalid on Windows #67

Description

@tristanlabelle

At The Browser Company, we're fixing SwiftLint to run on Windows and have produced builds of it. This allows us to use the vscode-swiftlint extension almost out-of-the-box, except that the default configuration fails to launch SwiftLint because the executable is launched via /usr/bin/env, which does not exist on Windows.

"default": [
"/usr/bin/env",
"swiftlint"
],

              "default": [
                "/usr/bin/env",
                "swiftlint"
              ],

Could we change the default to be only "swiftlint" to make it valid on all platforms? As needed, the /usr/bin/env could be prepended programatically on unix platforms in the extension code.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions