Trikalabs
  • Home
  • Best online TDD videos
  • Book Suggestions
  • About Me
  • Contact
Trikalabs
No Result
View All Result

Use Hound for automated code reviews

by fragi
May 13, 2021
in Tools
Share on FacebookShare on Twitter

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

Tags: continuous integrationHound
fragi

fragi

Related Posts

Delete Derived Data – zsh command
Tools

Delete Derived Data – zsh command

April 22, 2022

There are some times that we have to delete the derived data that Xcode produces.There are many ways to achieve...

SwiftGen – Statically reference resources
Tools

SwiftGen – Statically reference resources

February 28, 2022

In this article we can see how we can statically reference strings. Let's look on the following example: As...

Postman – Monitors
Postman

Postman – Monitors

February 27, 2022

So we have created our collection with the API request, we an up and running mock server http://trikalabs.com/postman-mock-server/  and a...

Xcode custom template
Tools

Xcode custom template

February 25, 2022

In this article we will create a template that creates a view and a viewModel files.In the previous article http://trikalabs.com/xcode-templates/...

Xcode Templates
Tools

Xcode Templates

February 24, 2022

Xcode provides with a lot of custom templates. In this article we will explore how we can change them. In...

Newman – Run Postman collections tests
Postman

Newman – Run Postman collections tests

February 27, 2022

Newman is a command-line Collection Runner for Postman. We can use newman to run postman collection tests through cli, which...

Next Post
Project Mess #1: No Localised Strings.

Project Mess #1: No Localised Strings.

Dependency Injection – UIViewController with a Nib file

Dependency Injection - UIViewController with a Nib file

Unit testing UIViewController LifeCycle

Unit testing UIViewController LifeCycle

  • Advertise
  • Privacy & Policy
  • Contact

© 2019 Trikalabs Ltd. All rights reserved.

No Result
View All Result
  • Home
  • About Me
  • A curated list with the best free online TDD videos
  • Book Suggestions
  • Pinner Code Club

© 2019 Trikalabs Ltd. All rights reserved.