-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FormatPlugin
and LintPlugin
are not BuildToolPlugin
.
#511
Comments
There is some previous discussion of this in this pull request. |
@allevato is there interest in this? I'd be happy to pick up adding build plugins, but it would probably necessitate hosting pre-built binaries and including them via |
@tonyarnold I think it would be a very nice addition to be able to either lint or format the code during the build phase. |
I'm happy to help out with this. I had closed #489 as it felt as if we needed the larger solution of making things into build plugins. |
Any updates on this? It will really handy to have the lint warnings while building. |
Any updates here? SwiftLint has become very bloated. It would be nice to finally be able to use the official linter/formatter |
I attempted this here #690 but without a hosted binary, the build plugins cannot be run. |
Tracked in Apple’s issue tracker as rdar://126948335 |
is there any movement on this? |
Most formatting and linting tasks happen at build time and Xcode has support for build time plugins if they conform to
BuildToolPlugin
. Therefore, maybe we should consider makingFormatPlugin
andLintPlugin
BuildToolPlugin
? This will make it easier to integrate swift-format for people who use Xcode.The text was updated successfully, but these errors were encountered: