reactjs / reactjs/ja.react.dev
Textlintを実行できない
Open
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を実行できないためコミットできずにいます。
状況は以下のとおりです。
エラーの指示通りyarn installで依存関係をインストールすると、ロックファイルも書き換えてしまいます。
環境変数を設定することでこのエラーを回避可能ですが、別のパースエラーが発生します。
環境
- Node
v12.22.12とyarnv3.6,1 - Node
v18.16.1とyarn4.0.0-rc.48
の2つの環境で調査しましたが結果は変わりませんでした。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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