Can I contribute a cspell hook?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The issue proposes a new pre-commit hook for cspell and includes a draft Ruby class. Look at the existing hooks under lib/overcommit/hook/pre_commit/ and the default hook configuration in config/default.yml to see how a hook is registered and how its output is parsed. Done means a maintainer agrees the hook belongs in the project, then a hook class, its config entry and a spec pass, but the issue has had no reply in about three and a half years, so confirm interest first.
索引モデルが issue の本文から書いたものです。
説明
Hi, I've written a simple overcommit hook for cspell, which is a general purpose spell-check linter for code and documentation.
Would the overcommit maintainers be interested in a PR to add this?
module Overcommit::Hook::PreCommit
class Cspell < Base
MESSAGE_REGEX = /^(?<file>.+):(?<line>\d+):\d+ - (?<message>.+)$/
def run
result = execute(command, args: applicable_files.map { "file://#{_1}" })
return :pass if result.success?
extract_messages(result.stdout.lines, MESSAGE_REGEX)
end
end
end
- 主要言語
- Ruby
- スター
- 4k
- フォーク
- 288
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sds/overcommit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
sds/overcommit#909 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
sds/overcommit#847 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 62/100
sds/overcommit#908 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
sds/overcommit#875 ·
メンテナーはふだん 1 日以内に返信
-
help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
sds/overcommit#869 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
seek4science/seek#2784 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
yosiat/panko_serializer#243 ·
-
enhancement priority: medium risk: low v1.9.0
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
davidteren/mutineer#379 ·
メンテナーはふだん 2 日以内に返信
-
Translation tutorial: snippet crashes on chunks export and misses simple { t } entries対応中かも @Mahdi-Hasan が今日担当しました。 オープンresource-documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TarteelAI/quranic-universal-library#1020 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100