Skip to content

JSON Template Nesting #230

Open
Open
@joshistoast

Description

@joshistoast

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions