Skip to content
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

Rule request: Add Arguments to YAML configuration #4326

Open
2 tasks done
nikitaame opened this issue Oct 7, 2022 · 1 comment
Open
2 tasks done

Rule request: Add Arguments to YAML configuration #4326

nikitaame opened this issue Oct 7, 2022 · 1 comment
Labels
enhancement Ideas for improvements of existing features and rules.

Comments

@nikitaame
Copy link

nikitaame commented Oct 7, 2022

New Issue Checklist

New rule request

Thanks to the work done by folks recently, we can now add SwiftLint as a Build Tool Plug-in which is amazing! It comes with the caveat:

Due to limitations with Swift Package Manager Plug-ins this is only recommended for projects that have a SwiftLint configuration in their root directory as there is currently no way to pass any additional options to the SwiftLint executable.

Could there please be the ability to have some of the arguments in the yaml? Such as -- strict for example. Or is there a way to do this that I am missing?

@jpsim
Copy link
Collaborator

jpsim commented Oct 7, 2022

This is a great idea. Another way to make this configurable would be to extend the Swift Package Manager API to allow specifying additional custom flags for integrators.

@jpsim jpsim added the enhancement Ideas for improvements of existing features and rules. label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for improvements of existing features and rules.
Projects
None yet
Development

No branches or pull requests

2 participants