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
0.61.0 released added the option to disable SourceKit when the environment variable SWIFTLINT_DISABLE_SOURCEKIT is defined.
However, in some cases, it might not be trivial to configure this environment variable.
While SourceKit is being completely removed, it would be great if meanwhile we had the option to pass a regular flag (eg --disable-sourcekit or --no-sourcekit) to disable SourceKit.
What would be the situations where it isn't possible to configure it? I'm especially thinking about making the call just SWIFTLINT_DISABLE_SOURCEKIT=1 swiftlint ....
If we're talking about Linux, you know that there are also special builds that don't require SourceKit and therefore work without any Swift toolchain preinstalled?
Activity
SimplyDanny commentedon Oct 7, 2025
What would be the situations where it isn't possible to configure it? I'm especially thinking about making the call just
SWIFTLINT_DISABLE_SOURCEKIT=1 swiftlint ....If we're talking about Linux, you know that there are also special builds that don't require SourceKit and therefore work without any Swift toolchain preinstalled?
enekox commentedon Oct 7, 2025
For example, if SwiftLint is run as a subprocess by some tooling that overrides the environment, and devs have no access to change that environment.
Specific details don't matter, it's a matter of making it more flexible. Thanks!
enekox commentedon Oct 21, 2025
Would be really helpful if this was implemented, currently stuck not being able to disable SourceKit on Xcode 26 🙏
enekox commentedon Jan 12, 2026
Bumping this one, would be great to have this implemented 🙏🙏🙏
SimplyDanny commentedon Jan 15, 2026
@enekox: Flag got implemented. I'll cut 0.63.1 shortly.
enekox commentedon Jan 16, 2026
Awesome, working great! Thank you so much.