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

Add missing controller guidelines

オープン 初心者向け
#5,335 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
67/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
documentation

調査の方向性

リポジトリ内にある既存の controller guidelines と package guidelines を見つけてください。この issue では、それらのファイル名は示されていません。周辺のガイダンスを読み、必要に応じて、記載されている controller state、test setup、messenger mocking、package-version notes を取り入れてください。関連するガイドラインがこれらの点をカバーし、既存のガイダンスを重複させたり矛盾したりしなければ完了です。

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

説明

category-documentation github-migration-triaged team-wallet-framework wf-documentation

We have some missing controller guidelines:

  • State should be coherent at all times. If properties are intended to be used in conjunction with each other they should be consistent, and we should have runtime validation to ensure that this is always the case.
  • Use withController or setupController pattern to set up controllers in tests.
  • Don't mock the messenger in tests.

Although the following is a package guideline, we could consider repeating it in the controller guidelines because that is probably more likely the use case:

  • New controller packages should always start at 0.0.0 (otherwise they run the risk of being accidentally published).
主要言語
TypeScript
スター
414
フォーク
309
平均マージ
22時間 25分
マージ済み PR(30日)
367

環境構築

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

はじめの一歩

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

MetaMask/core のほかの issue

MetaMask/core の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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