You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VSCode SwiftLint extension doesn't seem to recognize the workspace-level .swiftlint.yml configuration. Currently, we have to:
Either duplicate the config file in each package directory
Expected Behavior
When using a workspace:
The extension should recognize a workspace-level .swiftlint.yml
This config should apply to all Swift files in the workspace unless overridden by package-specific configs
Ideally, the extension's configSearchPaths setting in workspace settings should work relative to the workspace root
Question
What's the recommended way to maintain a single SwiftLint configuration in a monorepo/workspace setup? Is this a feature that could be supported in the extension?
The text was updated successfully, but these errors were encountered:
Current Setup
I'm working with a monorepo structure using VSCode workspace:
MyProject.code-workspce
The workspace directory structure:
Current Behavior
The VSCode SwiftLint extension doesn't seem to recognize the workspace-level
.swiftlint.yml
configuration. Currently, we have to:Expected Behavior
When using a workspace:
.swiftlint.yml
configSearchPaths
setting in workspace settings should work relative to the workspace rootQuestion
What's the recommended way to maintain a single SwiftLint configuration in a monorepo/workspace setup? Is this a feature that could be supported in the extension?
The text was updated successfully, but these errors were encountered: