[Feature]: Enforce formatting checks in CI for Go, Lua, shell and PowerShell
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 50/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
Start by running gofmt -l . on main to confirm internal/plugin/model_test.go is flagged, then format it. The config files are AGENTS.md and CONTRIBUTING.md (line 37), and .gitattributes covers the *.sh, *.ps1 and *.go files. Add the CI check for each language, plus stylua.toml and .editorconfig. Done when the new CI steps pass on the current tree and the Lua, shell and PowerShell files conform to the checks you add. The PowerShell tool choice is open, so confirm it with a maintainer before you start.
索引モデルが issue の本文から書いたものです。
説明
1. Your usage scenarios?
Nothing enforces formatting, so files drift. Checked on main at c4f6275:
gofmt -lreportsinternal/plugin/model_test.go(struct literal alignment).internal/env/context_test.gowas also unformatted at37cff8f; a later commit changed it, but nothing in CI keeps files formatted.- No CI step runs
gofmtor any other formatter.AGENTS.mdasks contributors to rungofmt -won changed Go files, andCONTRIBUTING.md(line 37) only says "You can try runninggo fmtandgo vet". - There is no
.editorconfig(indentation, final newline, trailing whitespace) and nostylua.toml, although 19 Lua files are tracked. .gitattributespins LF line endings for*.sh,*.ps1and*.go. That protects line endings, not formatting.
The reference is version-fox/vfox-java. Its lint.yml runs gofmt -l and stylua --check ., and its stylua.toml sets indent_type = "Spaces", indent_width = 4, column_width = 120 and line_endings = "Unix".
2. What is your expected outcome?
A formatting check in CI for each language, with its configuration checked in:
- Go:
test -z "$(gofmt -l .)", after formattinginternal/plugin/model_test.go. - Lua:
stylua --checkwith astylua.toml, applied to the existing Lua files. - Shell:
shfmt -dforinstall.shandscripts/*.sh. - PowerShell: a format check for the
.ps1files, for example PSScriptAnalyzer's formatting rules. - All text files: an
.editorconfig, checked by a tool such aseditorconfig-checker.
Linting is out of scope for this issue.
- 主要言語
- Go
- スター
- 4k
- フォーク
- 177
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 31
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
version-fox/vfox のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
version-fox/vfox#825 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
version-fox/vfox#823 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 45/100
version-fox/vfox#824 ·
メンテナーはふだん 1 日以内に返信
-
Plugins fail to load when the HOME path contains ';' or '?' (Lua package.path)対応中かも @Xnadir が今日担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
version-fox/vfox#821 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: the Available cache ignores the environment, so one setting's list is shown for another対応中かも @nanami7777777 が 1 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
version-fox/vfox#816 ·
メンテナーはふだん 1 日以内に返信
version-fox/vfox の issue をすべて見る
似ている issue
-
tld-snapshot
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
awslabs/ferret-scan#1064 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
DaoCloud/DaoCloud-docs#7839 ·
メンテナーはふだん 1 日以内に返信
-
Ignore entry for RUSTSEC-2026-0002 no longer matches anything (`lru` is no longer in `Cargo.lock`)オープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
influxdata/influxdb#27767 ·
メンテナーはふだん 1 日以内に返信
-
Type: Enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
projectdiscovery/urlfinder#167 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
gojue/ecapture#1100 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信