Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enforce Tailwind conventions in CI (class order + no arbitrary text sizes)

オープン
#2,233 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github-actions, tailwindcss
領域
ci-cd, frontend

調査の方向性

まず PR #2175 と既存の ai/tw-sort ツールを確認し、GitHub Actions が現在どのようにチェックを実行しているかを調べてください。Tree がソートされていない間、チェック対象をすべてのファイルにするのか変更されたファイルにするのかを決定し、その後、workflow が app/views、app/frontend、app/helpers 配下のソートされていない Tailwind クラスと任意のテキストサイズを拒否することを検証してください。

索引モデルが issue の本文から書いたものです。

説明

enhancement github_actions

PR #2175 added the tooling to keep Tailwind tidy but nothing enforces it, so main keeps reintroducing arbitrary values (it happened on every rebase of that PR). Convergence is currently manual.

Proposal

Add a CI check (GitHub Actions) that fails when Tailwind conventions drift:

  1. Class order — run ai/tw-sort --check --all (rustywind --check-formatted); non-zero exit if any file is unsorted.
  2. No arbitrary font sizes — grep-gate for text-[…px/rem] in app/views / app/frontend / app/helpers; fail with a pointer to the text-2xs/3xs/4xs scale.

Notes

  • The repo is not yet fully sorted (only touched files converge in #2175), so --check --all would fail today. Options: run the sorter repo-wide first (one big mechanical PR), or scope the check to changed files only until the tree is clean.
  • Keep it fast — rustywind is a native binary; the grep is trivial.

Context: split out of #2175.

主要言語
Ruby
スター
15
フォーク
28
平均マージ
1日 12分
マージ済み PR(30日)
262

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rubyforgood/awbw のほかの issue

rubyforgood/awbw の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。