Sha256: b6c7af37316e0059f33e67379821e5c908fce97fe40b7cce89d9373a377045a8
Contents?: true
Size: 615 Bytes
Versions: 7
Compression:
Stored size: 615 Bytes
Contents
# Check API Theme Check uses static analysis. It parses theme files into an AST, and then calls the appropriate checks to analyze it. An [AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree) is a tree of node, representing the theme file. Checks are Ruby classes with callback methods: - `on_TYPE` that runs before a node of the specific TYPE is visited. - `after_TYPE` that runs after a node of the specific TYPE is visited. There are three types of checks currently supported: - [`LiquidCheck`](/docs/api/liquid_check.md) - [`HtmlCheck`](/docs/api/html_check.md) - [`JsonCheck`](/docs/api/json_check.md)
Version data entries
7 entries across 7 versions & 1 rubygems