Pre-commit hooks for formatting and linting
メンテナーはふだん 1 日以内に返信
@Joycejay17 がすでに取り組んでいます。
2026年11月22日 から。
評価
この issue はまだ評価されていません。
説明
Difficulty: Beginner
Problem
Contributors can commit unformatted or lint-failing code and only find out when CI fails.
Why it matters
Faster feedback and fewer fix-up commits.
Scope of work
Add a lightweight hook runner (for example lefthook or husky) that runs Prettier and the web linter on staged web files and cargo fmt --check on staged Rust files, with a documented opt-out.
Expected outcome
Commits that would fail CI formatting or lint are caught locally.
Acceptance criteria
- Hooks install with one documented command.
- Hooks are fast and only run on relevant files.
- The opt-out is documented.
Relevant files
- hook configuration (new),
web/package.json,CONTRIBUTING.md
Dependencies
Depends on #98 (Prettier setup).
Maintainer discussion needed?
No.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 4
- 平均マージ
- 54分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Yormee-103/PayLoop のほかの issue
-
Add a CHANGELOG and release-notes convention対応中かも @Sharon-dev-create が今日担当しました。 オープンdifficulty: beginner documentation dx help wanted Stellar Wave
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Yormee-103/PayLoop#169 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Glossary of Stellar and PayLoop terms, linked from the Help page対応中かも @Yemmy88 が今日担当しました。 オープンdifficulty: beginner documentation good first issue help wanted Stellar Wave
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Yormee-103/PayLoop#168 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
difficulty: beginner dx good first issue help wanted web
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Yormee-103/PayLoop#158 ·
メンテナーはふだん 1 日以内に返信
-
difficulty: beginner documentation good first issue help wanted security
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Yormee-103/PayLoop#145 ·
メンテナーはふだん 1 日以内に返信
-
a11y difficulty: beginner good first issue help wanted web
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Yormee-103/PayLoop#144 ·
メンテナーはふだん 1 日以内に返信
Yormee-103/PayLoop の issue をすべて見る
似ている issue
-
[UI] Guard webApis against undefined window in SSR environments対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
headroomlabs-ai/headroom#4992 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
paperclipai/paperclip#22575 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#34502 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
bug frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
nikhilb2/simple_invoicing#935 ·