fluidlint
v1.1.0
Published
CLI that ensures that Liquid features that aren't supported by Fluid are not used.
Downloads
18
Keywords
Readme
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