Question

LAMS LookML Linter version 2 release!

  • 22 February 2022
  • 1 reply
  • 174 views

Userlevel 6
Badge

Version 1 of the open-source LookML linter, Look at Me Sideways (LAMS), was developed at a time when few LookML developers had continuous integration (CI) infrastructure set up for their LookML projects. As a result, it targeted a markdown output format for maximum interoperability from Looker's IDE:
 


 

In addition, it tried to fit several distinct use cases into that markdown output: reporting issues/recommendations, summarizing exemptions, and listing tables by primary key (ostensibly for organizational & navigational benefits).

As more LookML developers adopted a CI pipeline, it became clear that most consumers were looking primarily for one specific use case: a pass/fail indicator and a listing of failures that was easily consumable via their CI tooling. 

With the v2 release of LAMS, the possible output modes have been expanded and modularized, so that consumers can explicitly state which output mode(s) are best for them. In addition, LAMS will emphasize a new output mode that is designed to be more accessible from a typical CI tooling context: output goes to the command line's standard output, rather than to a file, and with a tabular human-readable output with one message on each line:
 

 

In addition, this major-version change also removes the granular reporting of exemptions, and simplifies its mental model by removing the tenuous distinction between warnings and errors.

For more details about the changes, see the release notes

If you’re using LAMS, let me know about your use case, whether this new output format is better for you, and what future features you’d be interested in seeing! If you’re not yet linting your LookML, are you curious to learn more?


This topic has been closed for comments

1 reply

Userlevel 3

output goes to the command line's standard output, rather than to a file, and with a tabular human-readable output with one message on each line:

Great!:grinning: