@shopify/theme-lint

A linter for Shopify theme localization written in Node

Usage no npm install needed!

<script type="module">
  import shopifyThemeLint from 'https://cdn.skypack.dev/@shopify/theme-lint';
</script>

README

Theme Lint

Build Status npm version

A linter for Shopify theme localization written in Node.

Getting started

Add theme-lint as a devDependency to a Shopify theme by running the following command inside of the theme directory:

$ npm install --save-dev @shopify/theme-lint

Add a new NPM script to your theme's package.json like so:

"scripts": {
  "lint": "theme-lint ./dist"
}

Finally, run npm run lint to run the translation tests.

License

MIT, see LICENSE.md for details.