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

[Question] How do I tell what version of SwiftLint danger is running? #137

Open
bdrelling opened this issue Oct 23, 2019 · 1 comment
Open

Comments

@bdrelling
Copy link

In addition to the question in the title, if I want Danger to pull in and run a specific version of SwiftLint, is there any way to do so?

I keep getting this error that unused_declaration isn't a rule... but it's been in SwiftLint for a few releases now and hasn't gone away. I'm not sure why it keeps spitting that error out at me.

These are my Danger dependencies in my Gemfile:

gem 'danger', '~> 6.1.0'
gem 'danger-junit', '~> 1.0.0'
gem 'danger-rubocop', '~> 0.7.0'
gem 'danger-swiftlint', '~> 0.23.0'

Speaking of which, there's no 0.23.0 tag on GitHub?

@ashfurrow
Copy link
Owner

Hi, thanks! I've created that tag, thank you 😅 As for the version, you can install swiftlint yourself and point the plugin to it using the binary_path configuration option, but by default SwiftLint will be installed during bundle install according to the version specified here:

SWIFTLINT_VERSION = '0.33.1'

Hope that answers your question, let me know what I can clarify 👍

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