reactjs / reactjs/ja.react.dev

Textlintを実行できない

Open
#616 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug workflow
Dominant language
JavaScript
Stars
301
Forks
190
PR merge metrics
No merged PRs in 30d

Description

現在、Hookのindex.mdを翻訳している者です。

翻訳が完了したのでtextlintで表記のチェックを行おうと考えたのですが、textlintを実行できないためコミットできずにいます。

状況は以下のとおりです。

image

エラーの指示通りyarn installで依存関係をインストールすると、ロックファイルも書き換えてしまいます。

image

環境変数を設定することでこのエラーを回避可能ですが、別のパースエラーが発生します。

image

環境

  • Node v12.22.12とyarn v3.6,1
  • Node v18.16.1とyarn 4.0.0-rc.48

の2つの環境で調査しましたが結果は変わりませんでした。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the textlint failure on the translated Hook/index.md with the Node and Yarn versions listed in the issue. Inspect the repository’s textlint entry point and lockfile behavior; done means textlint runs without rewriting the lockfile or producing the reported parse error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.