houndci / hound

Automated code review for GitHub pull requests.
https://houndci.com
MIT License
1.95k stars 402 forks source link

SwiftLint remote configuration option #1801

Open mokagio opened 4 years ago

mokagio commented 4 years ago

I love Hound, we use it a Automattic and it's super fast 🚀

There is an open PR on SwiftLint to support remote configurations. I just wanted to bring it to your attention because it would be super duper cool if it was supported by Hound, once shipped.

Alternatively, supporting a remote configuration would be a cool option too. I think that might be possible regardless of the version of SwiftLint supported by Hound.

Something like

swiftlint:
  config_file: https://raw.githubusercontent.com/Automattic/swiftlint-config/6e2333f88294a03e4e72d287367e1fd62000b049/.swiftlint.yml

where Hound understands the path is a URL, downloads the file somewhere, then passes the path of the downloaded config file using --config option.