LAMS LookML Linter version 2 release!

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:
 

846ba2dd-2b17-43c7-8642-6884cdcac69b.png


 

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:
 

e9af1b21-e6ed-4c96-b568-cda3bc6ec52f.png

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?

2 1 446
1 REPLY 1

masutaka
Participant IV

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: