Support formatting changed files with rs fmt --changed

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

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

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

評価

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

調査の方向性

Start by reading the rs fmt command implementation and its existing path and ignore filter handling, then inspect how the CLI resolves the default Git branch and gathers changed, uncommitted, and untracked files. Compare the behavior with the referenced bun fmt --changed documentation. Done means both examples work, filters are respected, and no matching files exits successfully.

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

説明

Add rs fmt --changed to format or check only files changed relative to a Git ref. This would help with local branch checks and PR CI runs, especially when no formatting cache is available.

rs fmt --changed
rs fmt --changed=origin/main --check

Use the default branch when no ref is provided. Include uncommitted changes and untracked files, respect existing path and ignore filters, and exit successfully when no files match.

Reference: bun fmt --changed.

主要言語
TypeScript
スター
39
フォーク
3
平均マージ
5時間 17分
マージ済み PR(30日)
64

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

rstackjs/rstack-cli のほかの issue

rstackjs/rstack-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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