shopify theme check
Validate the theme.
Calls and runs Theme Check to analyze your theme code for errors and to ensure that it follows theme and Liquid best practices. Learn more about the checks that Theme Check runs.
Usage
shopify theme check [flags]Summary
Validate the theme.
Flags
--fail-level <value>string— Minimum severity for exit with error code optional Environment:SHOPIFY_FLAG_FAIL_LEVEL.--init— Generate a .theme-check.yml file optional Environment:SHOPIFY_FLAG_INIT.--list— List enabled checks optional Environment:SHOPIFY_FLAG_LIST.--no-color— Disable color output. optional Environment:SHOPIFY_FLAG_NO_COLOR.--path <value>string— The path where you want to run the command. Defaults to the current working directory. optional Environment:SHOPIFY_FLAG_PATH.--print— Output active config to STDOUT optional Environment:SHOPIFY_FLAG_PRINT.--verbose— Increase the verbosity of the output. optional Environment:SHOPIFY_FLAG_VERBOSE.-a, --auto-correct— Automatically fix offenses optional Environment:SHOPIFY_FLAG_AUTO_CORRECT.-C, --config <value>string— Use the config provided, overriding .theme-check.yml if present Supports all theme-check: config values, e.g., theme-check:theme-app-extension, theme-check:recommended, theme-check:all For backwards compatibility, :themeapp_extension is also supported _optional Environment:SHOPIFY_FLAG_CONFIG.-e, --environment <value>string— The environment to apply to the current command. optional Environment:SHOPIFY_FLAG_ENVIRONMENT.-o, --output <value>string— The output format to use optional Environment:SHOPIFY_FLAG_OUTPUT.-v, --version— Print Theme Check version optional Environment:SHOPIFY_FLAG_VERSION.