Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

annotate: not process SFC parse and annotate at the same time

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
cli

調査の方向性

まず、CLI の annotate エントリポイントと、SFC の parsing および annotation を処理するコードを見つけます。parse error が現在、すでに処理されたファイルにどのような影響を与えるかを確認します。すべての SFC の parsing がファイルの変更前に完了し、リカバリ動作がプロジェクト既存の checks でカバーされていれば完了です。

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

説明

Status: PR Welcome Status: Proposal Type: Improvement
Clear and concise description of the problem

In the current implementation, SFC parse and annotate will be processed for each file.
Therefore, if an SFC parse error occurs in the middle of the process, the files processed up to that point will still be modified by annotating.

If you are using git, you can use git checkout to undo the changes, but the recovery process is tedious annotating

Suggested solution

Instead of doing SFC parse and annoate at the same time, you should do all SFC parse and then annoate.

Alternative

We can provide —verify options.
it checks SFC files whether that is syntax correctly.

Additional context

No response

Validations
主要言語
TypeScript
スター
9
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

intlify/cli のほかの issue

intlify/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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