Extension should look for templates relatively or by setting.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 234
- Forks
- 92
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
I'm using Webpack to build my theme so I have the liquid files inside a /src/static directory. I keep these static files in the same directory structure as they will be built as.
{% comment %} Inside theme.liquid {% endcomment %}
{% section 'header' %}
So theme-check extension checks my code automatically and gives me a MissingTemplate.
Since this file is located at src/static/layout I would like theme check to look in src/static/sections/header.liquid
If that is not possible maybe a base url setting for the extension for which theme check will be ran in.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the theme-check extension resolves section templates and emits MissingTemplate for files under a nested directory. Review the extension's available settings and template lookup entry points. Done means a theme file under src/static/layout can resolve src/static/sections/header.liquid, or the extension supports a documented base URL setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100