Skip to content

ci: Add dprint formatter for markdown, yaml, and toml - #74

Merged
roottool merged 2 commits into
mainfrom
feat/add-dprint-formatter
Jul 19, 2026
Merged

roottool merged 2 commits into
mainfrom
feat/add-dprint-formatter

Conversation

@roottool

@roottool roottool commented Jul 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • shfmt/ShellCheckの整形/リンター分離構成に合わせ、md/yaml/tomlをまとめて整形するdprintを導入
  • dprint.jsonでmarkdown/toml/pretty_yaml(yaml)プラグインを設定し、既存ファイルの慣習に合わせYAMLのクォートはpreferSingleに統一
  • CIのlintジョブにdprint/check@v2.3ステップを追加(markdownlintは現状どおりmdのリンターとして維持)
  • 導入に伴い、README.md / ci.yaml / assign.yml / issue templateの既存フォーマット差分をdprint fmtで解消

Test plan

  • CIのCheck formatting (dprint)ジョブがgreenになることを確認
  • 既存のMarkdown lintジョブが引き続き動作することを確認

Introduce dprint (markdown/toml/pretty_yaml plugins) as a unified
formatter for md/yaml/toml files, mirroring the shfmt/ShellCheck
formatter+linter split already used for shell scripts. markdownlint
keeps its existing linting role for markdown.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@roottool
roottool merged commit ba6270c into main Jul 19, 2026
8 checks passed
@roottool
roottool deleted the feat/add-dprint-formatter branch July 19, 2026 08:06
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