mocha-shopify-lint (v1.0.0) integrates Shopify's theme-lint with Mocha test framework, allowing developers to validate Liquid template files as part of the test suite. It accepts glob patterns to select which .liquid files to lint. Released in 2016, no active development or recent updates observed. Differentiates by providing a bridge between theme-lint and Mocha, but limited features and potential compatibility issues with newer versions of theme-lint or Mocha.
npm install mocha-shopify-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures mocha-shopify-lint to lint Liquid files matching glob patterns.
Consider using Shopify CLI's built-in linting or directly using theme-lint/tag-lint.
Refer to glob-all documentation for pattern syntax.
Create a .theme-lint.yml or theme-lint.json file in project root.
npm install theme-lint --save-dev
npm install mocha --save-dev