cloudfour / fluidlint

CLI that ensures that Liquid features that aren't supported by Fluid are not used.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fluid Linter

CLI that ensures that Liquid features that aren't supported by Fluid are not used.

Single-Use

npx fluidlint 'some-folder/**.liquid'

If you do not specify file(s), it defaults to **/*.liquid

Setting Up In Project

npm i -D fluidlint

In package.json:

  "scripts": {
    "fluidlint": "fluidlint",
  },
npm run fluidlint

Publishing

  • On a non-master branch:

    npm version [<newversion> | major | minor | patch]
    

    This will update the version in package.json.

  • Create the release notes in a release draft on GitHub

  • Once that PR is merged:

    git checkout master && git pull && npm publish
    

    This will run linting/tests, publish to npm, and create/push the git tag

About

CLI that ensures that Liquid features that aren't supported by Fluid are not used.


Languages

Language:JavaScript 100.0%