Skip to content

修正 Prettier 忽略 Codex 技能檔 - #187

Merged
TonyPepeBear merged 1 commit into
masterfrom
codex/ignore-codex-prettier
Jul 11, 2026
Merged

修正 Prettier 忽略 Codex 技能檔#187
TonyPepeBear merged 1 commit into
masterfrom
codex/ignore-codex-prettier

Conversation

@TonyPepeBear

Copy link
Copy Markdown
Member

變更內容

  • .prettierignore 加入 /.codex
  • 避免專案內的 Codex 技能文件被網站程式碼格式檢查納入

原因

Prettier CI 會掃描 .codex/skills/ui-ux-pro-max/SKILL.md,造成與網站原始碼無關的格式檢查失敗。

影響

網站程式碼仍維持完整的 Prettier 檢查,僅排除 .codex/ 工具設定目錄。

驗證

  • yarn prettier
  • yarn exec prettier -- --check .
  • git diff --check

@TonyPepeBear
TonyPepeBear marked this pull request as ready for review July 11, 2026 19:00
@TonyPepeBear
TonyPepeBear marked this pull request as draft July 11, 2026 19:00
@TonyPepeBear
TonyPepeBear marked this pull request as ready for review July 11, 2026 19:00
@TonyPepeBear
TonyPepeBear merged commit 7e53c7d into master Jul 11, 2026
4 of 5 checks passed
@TonyPepeBear
TonyPepeBear deleted the codex/ignore-codex-prettier branch July 11, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant