Skip to content

Fire-/eslint-plugin-ignore-liquid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-ignore-liquid

This plugin ignores {% Liquid Computation %} and {{ Liquid Template }} existence in .html, .js, and .css files as they break ESLint.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ignore-liquid:

$ npm install eslint-plugin-ignore-liquid --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-ignore-liquid globally.

Usage

Add ignore-liquid to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "ignore-liquid"
    ]
}

About

Ignores Shopify Liquid syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published