🐌

開発日記-2025-10-10 / GitHub Copilot にカスタム指示を与える

公開日約1年前2025-10-10
MarkdownRaw Content

GitHub Copilot にカスタム指示を与える

.github/copilot-instructions.md を作成。

GitHub Copilot用のリポジトリカスタム命令の追加 - GitHubドキュメント GitHub Copilot の指示書が複数ファイル対応に!ルールを用途別に整理できる新機能

読んだ記事

AIエージェントで挑んだ大規模リファクタリング - DMM Developers Blog

eslint-plugin-better-tailwindcss の rules

enforce-consistent-line-wrapping の printWidth を Prettier の printWidth と同じにしないといけない。

VS Code の保存時のフォーマットで無限におかしくなる。

{
  "better-tailwindcss/enforce-consistent-line-wrapping": ["warn", { "printWidth": 100 }]
}

Barrel File について

バレルファイル 使っていいときわるいとき バレルファイルの真実:コード管理の利便性とパフォーマンスへの影響を理解する|プロダクト共創組織