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

Option to run swiftlint with strict/lenient mode #57

Closed
Sega-Zero opened this issue Sep 24, 2017 · 4 comments
Closed

Option to run swiftlint with strict/lenient mode #57

Sega-Zero opened this issue Sep 24, 2017 · 4 comments

Comments

@Sega-Zero
Copy link

Would like to have an opportunity to run swiftlint in strict or lenient mode. Is there a way to pass an additional commandline parameters?

@ashfurrow
Copy link
Owner

Hmm, tricky. I've looked at the source code for parsing options and you might be able to pass additional arguments by adding as an option like "lenient" => "" but we don't expose a way to add arbitrary options to the command invocation. I think we should just add the ability for you to add arbitrary command-line options to swiftlint. Would you be interested in adding that feature?

@Sega-Zero
Copy link
Author

I have no experience in ruby yet :)

@ashfurrow
Copy link
Owner

No worries! If you're keen, try it out, but no pressure. I'll try to get to it sometime this weekend.

@ashfurrow
Copy link
Owner

Okay, this should be good to go. I released the new feature as 0.10.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants