Liquid Template Linter



  • Has anyone here had a good experience linting/doing code quality checking for liquid files within Shopify?

    I'm having a hard time trying to find a linter that will validate the liquid code in my HTML without throwing an error.

    If anyone knows of a cli tool/service/program that does this Or a list of different services you used to do this.

    Any help would be appreciated



  • Liquid includes this functionality by default,

    Liquid also comes with a stricter parser that can be used when editing templates to give better error messages when templates are invalid.

    Source: https://github.com/Shopify/liquid#error-modes

    Update

    Liquid is an open-source template language created by Shopify and written in Ruby.

    Source: https://shopify.github.io/liquid


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2