Hound can help a team to maintain its code style. Each time we create a pull request Hound will scan our changes and comment on the lines that violating the rules.
Let’s set up Hound!
First, go to the market place and select continuous integration
Now, let’s select Hound
Let’s tap on the select free trial
Select open source and tap on the install it for free button
Next step is to complete the order
Choose only select repositories and find you repository
Tap install
Let’s authorise Hound
The last step is to tap on the active button
Now let’s test it. Let’s create a PR with an intentional style issue
As we see Hound created a comment with the violation of the rule.
If we want to customise the rules, we can create a .hound.yml file with the rules and then go on the Hound console and select use organization-wide config.
If the rules are the swiftlint rules we can follow the instructions on this link: http://help.houndci.com/en/articles/2138528-swiftlint