theme checkcommand
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.
Anchor to flagsFlags
The following flags are available for the theme check
command:
Minimum severity for exit with error code
Generate a .theme-check.yml file
List enabled checks
Disable color output.
The path where you want to run the command. Defaults to the current working directory.
Output active config to STDOUT
Increase the verbosity of the output.
Automatically fix offenses
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, :theme_app_extension is also supported
The environment to apply to the current command.
The output format to use
Print Theme Check version