Skip to content

grafikr/theme-check-extension

Repository files navigation

@grafikr/theme-check-extension

Opinionated Shopify theme linting checks built on top of @shopify/theme-check-common.

Installation

pnpm i @grafikr/theme-check-extension -D

Usage

Add the extension to your .theme-check.yml configuration:

extends:
  - 'theme-check:recommended'
  - '@grafikr/theme-check-extension/recommended.yml'

For more configuration options, see the Theme Check configuration docs.

Checks

Check Description Applies to Default severity Enabled by default
DeprecateSectionBlocks Warns against using section blocks Section files warning Yes
MaxLines Enforces a maximum number of lines per file Liquid files warning Yes
MaxSchemaSettings Enforces a maximum number of settings in a schema block Section and block files warning Yes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors