Home Developer Scala Style: The Official Open Source Project Guide

Scala Style: The Official Open Source Project Guide

Author

Date

Category

Since we love Scala at Codacy we have developed our code analysis platform around it.
Our love comes from having full power over a very expressive language but still being able to perform at scale.

Scala Style Guide

In part due to this love we reference the Scala Style Guide, a resource that Daniel Spiewak and David Copeland put together.  The Style Guide was later adopted by the community as the official guide for Scala style.

This guide does a great job setting the first style rules for your Scala projects. However, one issue that Scala developers face is to enforce this standard to their projects, namely when collaborating and receiving code from other developers that can be located on the other side of the planet (which is what happens with great open source projects).
Reviewing Pull Requests and having to pinpoint these best practices is both frustrating and time consuming.

That’s where Codacy comes in play. After signing up for Codacy, and adding your Scala projects to Codacy just go to the menu “Code Patterns” of your project, click on “All Patterns” and select “Code Patterns”.

After this just enable the standard and your project will be checked against the standard in the next analysis.

If you linked your account with Github, the Pull Requests will be analyzed and you can start enforcing the Scala Style Guide automatically.

Codacy can also push a status to Github, for you to see directly if the Pull Request respects the standard.

Lay back, let Codacy do the job of pinpointing these issues and focus on reviewing design and architecture.

If you need more configuration, Codacy allows you very easily to select only the rules that matter to your project or even customize some parameters.

Please consider adding the Codacy Badge to your project ReadMe. To find the Badge just go to your project settings.

Learn More

Codacy is free for Open Source. Apply the Scala Style guide now!

Want to learn more about Scala?  Check out our other Scala resources.


Also, we just published an ebook: “The Ultimate Guide to Code Review” based on a survey of 680+ developers. Enjoy!


About Codacy

Codacy is used by thousands of developers to analyze billions of lines of code every day!

Getting started is easy – and free! Just use your  GitHub, Bitbucket or Google account to sign up.

GET STARTED

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Recent posts

7 drawbacks of linting tools

Linting tools (also known as linters or static analyzers) help automate the code review process. They perform basic static code analysis by flagging programming...

Using the API to add Codacy Grade details to the Readme

Some context Codacy has a badge mechanism that can be included in your Readme file. It gives you an idea of the grade of your repository, from...

March Product Update: Support for Cloud Infrastructure-as-code, Custom Reports with API endpoints & more 🚀

Here are some fresh updates from March! This month we bring you a new product offering, new features, and product updates, interesting reads, and...

Top 10 ways to perform fast code review

We always want to be fast at code review.. How frequent is it for you to be reviewing code at 3am? When code reviewing, do you...

Interview with Gary McKay, Somos’ Director of Agile Service Delivery

Somos is a proven leader in registry management and data solutions. Somos fosters meaningful connections by delivering value, innovation and confidence to consumers. We...