Introducing the Style Validator, a new LookML linter!

Ever since the dawn of time (or I guess ever since we launched Spectacles), our customers have been asking for a linter for LookML. They wanted something that would:

  • Speed up code reviews
  • Enforce whatever LookML style guide they choose
  • Uncover anti-patterns in LookML code

I’m very excited to introduce the Style Validator, the brand new LookML linter from the team at Spectacles.

d58fd922-3d2c-4f9d-9272-1719b6b6fe6c.jpg

What is the Style Validator?

The Style Validator is a LookML linter built directly into the Spectacles application. It ships with 20+ pre-defined rules, but also easily allows for custom rules with a simply YAML syntax. It takes less than 5 minutes to get setup, will help improve the quality of your LookML and can dramatically speed up your code review process.

The Style Validator can be run incrementally. This means that you don’t need to clean up your project all in one go. You can get it set up to make sure new code changes are high-quality and then clean up your existing code over time.

You can read our launch announcement here or jump straight into our docs here.

Watch a demo!

We’ve recorded a quick 6-minute demo of the tool. It shows exactly how the validator works and how quickly you can get it fully deployed.

https://www.youtube.com/watch?v=cv2hVAwmpoc

Get in touch!

If you’re interested in setting up the Style Validator for your project, we’d love to hear from you. You can either reply to this post or get in touch via our website.

Thanks everyone!

4 2 490
2 REPLIES 2

Will the StyleValidator be added to the Spectacles CLI tool?

Will the StyleValidator be added to the Spectacles CLI tool?

Hey @brendanfrick . We aren’t planning on adding the Style Valdiator to the Spectacles CLI. It’s going to only be part of the hosted Spectacles application.

That said, there will be an open-source component. There will be a repo for open-source custom rules, built by Spectacles customers, so that everyone can benefit from the custom rules that companies produce.

Top Labels in this Space
Top Solution Authors