Sha256: 6c92f2a14775fb0c2f8f82e4e55157c3804dd23bc613870074523b33a60d350d

Contents?: true

Size: 663 Bytes

Versions: 43

Compression:

Stored size: 663 Bytes

Contents

# Remove unused snippets in themes (`UnusedSnippet`)

This check warns the user about snippets that are not used (Could not find a `render` tag that uses that snippet)

## Check Details

This check is aimed at eliminating unused snippets.

## Check Options

The default configuration for this check is the following:

```yaml
UnusedSnippet:
  enabled: true
```

## When Not To Use It

It's safe to disable this rule.

## Version

This check has been introduced in Theme Check 0.1.0.

## Resources

- [Rule Source][codesource]
- [Documentation Source][docsource]

[codesource]: /lib/theme_check/checks/unused_snippet.rb
[docsource]: /docs/checks/unused_snippet.md

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
theme-check-1.5.2 docs/checks/unused_snippet.md
theme-check-1.5.1 docs/checks/unused_snippet.md
theme-check-1.5.0 docs/checks/unused_snippet.md
theme-check-1.4.0 docs/checks/unused_snippet.md
theme-check-1.3.0 docs/checks/unused_snippet.md
theme-check-1.2.0 docs/checks/unused_snippet.md
theme-check-1.1.0 docs/checks/unused_snippet.md
theme-check-1.0.0 docs/checks/unused_snippet.md
theme-check-0.10.2 docs/checks/unused_snippet.md
theme-check-0.10.1 docs/checks/unused_snippet.md
theme-check-0.10.0 docs/checks/unused_snippet.md
theme-check-0.9.1 docs/checks/unused_snippet.md
theme-check-0.9.0 docs/checks/unused_snippet.md
theme-check-0.8.3 docs/checks/unused_snippet.md
theme-check-0.8.2 docs/checks/unused_snippet.md
theme-check-0.8.1 docs/checks/unused_snippet.md
theme-check-0.8.0 docs/checks/unused_snippet.md
theme-check-0.7.3 docs/checks/unused_snippet.md
theme-check-0.7.2 docs/checks/unused_snippet.md
theme-check-0.7.1 docs/checks/unused_snippet.md