Skip to content

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

@tristanlabelle

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.

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