Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
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
asked Aug 28, 2019 at 15:05
You have one OS linter called Liquid-linter but it is not actively developed anymore.
A node package that lets you lint liquid template strings.
answered Sep 2, 2019 at 10:15
1,01699 silver badges2424 bronze badges
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.
Liquid is an open-source template language created by Shopify and written in Ruby.
answered Sep 3, 2019 at 12:26
11311 silver badge77 bronze badges