コンテンツにスキップ

Spec

ADDED Requirements

Requirement: .editorconfig の追加

プロジェクトルートに .editorconfig を配置し、エディター間のコーディングスタイルを統一する。

Scenario: 全ファイル共通設定

  • WHEN .editorconfig を作成する
  • THEN root = true とし、全ファイルに以下が設定される
  • indent_style = spaceindent_size = 4end_of_line = lf
  • charset = utf-8trim_trailing_whitespace = trueinsert_final_newline = true

Scenario: ファイルタイプ別設定

  • WHEN .editorconfig を作成する
  • THEN 以下のファイルタイプ別設定が適用される
  • JSON/YAML: indent_size = 2、Markdown: trim_trailing_whitespace = false
  • PowerShell: indent_size = 4、Bash: indent_size = 2

Requirement: .gitattributes の追加

プロジェクトルートに .gitattributes を配置し、改行コードを LF に統一する。

Scenario: 改行コードの統一

  • WHEN .gitattributes を作成する
  • THEN * text=auto eol=lf が設定される

Requirement: VS Code 設定の追加

.vscode/settings.json にプロジェクト共通の VS Code 設定を追加する。

Scenario: cSpell 辞書

  • WHEN .vscode/settings.json を作成する
  • THEN cSpell.words に Teams Board プロジェクト固有の用語(mkdocs、textlint、pymdownx、pyproject 等)が登録される