Support for prettier plugins
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- tailwindcss, typescript
调研方向
首先阅读 packages/prettier-plugin-liquid 及其位于 docs/prettier-plugin-liquid/principles/index.md 的原则。确定 formatter 当前如何处理扩展,然后明确插件支持必须涵盖的内容,包括 prettier-plugin-tailwindcss 或由扩展提供的插件。完成的标准是,可以使用所请求的插件对 Tailwind 类进行排序,同时不丢失 Liquid 格式。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
Previously we had to format our liquid files with prettier, but with the v2 of the Shopify Liquid extension, we use theme-check to format our liquid files. This will make it impossible to use prettier-plugin-tailwindcss to automatically order our tailwind classes.
Describe the solution you'd like
Make sure we can use prettier plugins, so we can easily extend the theme-check formatter.
Describe alternatives you've considered
Give the option to either use a prettier plugin or the extension (with plugins).
Checklist
- [ x] I have checked and made sure that the proposal adheres to this plugin's principles
I also opened an issue on the repo of the Shopify Liquid extension.
- 主要语言
- TypeScript
- 星标
- 245
- 派生
- 108
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Shopify/theme-tools 的其他 Issue
-
ThemeCheck incorrectly reports error when `with` is used in snippet可能已有人在做 @efegokdemir 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
Shopify/theme-tools#1408 ·
维护者通常 2 天内回复
-
CdnPreconnect misses `href="https://cdn.shopify.com"` without a trailing path可能已有人在做 @RaphaelFakhri 于 33 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Shopify/theme-tools#1365 ·
维护者通常 2 天内回复
-
theme-graph CLI never calls getWebComponentMap, so custom-element references are never resolved可能已有人在做 @reginaldalfret 于 51 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
Shopify/theme-tools#1291 · 1 条评论 ·
维护者通常 2 天内回复
-
JSONMissingBlock false positive for app block when section supports both @app and @theme可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
Shopify/theme-tools#1144 · 2 条评论 · 8 个 reaction ·
维护者通常 2 天内回复
-
theme-language-server: creating or deleting a folder leaves stale readDirectory/stat cache可能已有人在做 @efegokdemir 于 14 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 68/100
Shopify/theme-tools#1386 ·
维护者通常 2 天内回复
查看 Shopify/theme-tools 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
-
bug triage:in-progress
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 72/100
redhat-developer/rhdh-plugin-export-overlays#4845 · 1 条评论 ·
维护者通常 1 天内回复
-
chore kaizen ui-rewrite
难度 2/5 1-3 小时 新手友好度 64/100
IBM/mcp-context-forge#7681 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
cloudflare/workers-sdk#17159 ·
维护者通常 1 天内回复