tomheller / liquid-linter Goto Github PK
View Code? Open in Web Editor NEWLiquid template language linter
Liquid template language linter
I was looking for a Liquid linter and this project was the only one I could find.
As it does not have a command line interface, I made the effort to create one: https://github.com/DealerDirect/liquid-linter-cli (Any feedback is welcome).
Would there be any interest in integrating the CLI code into this repository? (And if so, under which circumstances?)
I originally posted this issue here: docs/liquid#64 but now im not even sure where the problem resides, in the parser or in the interpretation of the liquid that has to be parsed.
Im leaning to the latter, so here I am :)
Correct liquid code (per https://help.shopify.com/themes/liquid/basics/whitespace ):
{%- assign test = 'test' -%}
Is throwing an error:
Tag '{%- assign test = 'test' -%}' was not properly terminated with regexp: undefined
at {%- assign test = 'test' -%} (undefined:18:1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.