Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Template Nesting #230

Open
3 tasks done
joshistoast opened this issue Sep 16, 2024 · 0 comments
Open
3 tasks done

JSON Template Nesting #230

joshistoast opened this issue Sep 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joshistoast
Copy link
Contributor

Clear and concise description of the problem

When working within large Shopify themes, the sheer quantity of named json templates can become overwhelming. Adding a file nesting rule to condense them would be more than desirable.

Suggested solution

Within the configuration, add the following rule which has helped me:

{
  "*.json": "$(capture).*.json, $(capture).*.liquid",
}

Alternative

No response

Additional context

file nesting 01 file nesting 02

Validations

@joshistoast joshistoast added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant