1.1.0 • Published 5 years ago

fluidlint v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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