Support for prettier plugins
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- tailwindcss, typescript
調査の方向性
まず packages/prettier-plugin-liquid と、その原則をまとめた docs/prettier-plugin-liquid/principles/index.md を読みます。現在 formatter が拡張機能をどのように扱っているかを確認し、そのうえで、prettier-plugin-tailwindcss や拡張機能が提供する plugin を含め、plugin サポートが対応すべき範囲を定義します。要求された plugin を使用して 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時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Shopify/theme-tools#1144 · コメント 2 件 · リアクション 8 件 ·
メンテナーはふだん 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
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process Terminationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
nocobase/nocobase#11711 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Y2025: QBI forms print a negative taxable income; Form 8995-A lines 14b/14c check the wrong columnオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
readest/readest#7903 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信