gleam-lang/gleam
have `gleam check`, `gleam build` validate the gleam.toml schema
開放
#5,301 建立於 2026年1月19日
help wanted
倉庫指標
- 星標
- (21,417 顆星)
- PR 合併指標
- (平均合併 10天 19小時) (30 天內合併 69 個 PR)
描述
Currently the inclusion of a spurious field in gleam.toml goes silently unremarked upon.
This caused me some grief just now as I didn't spot that a local dependency list should appear under [dependencies] not above it.
The proposal would be for gleam build to report the presence of unrecognized/unsupported fields in gleam.toml before it tries to build anything, i.e., for gleam build to validate the gleam.toml schema. (As versioned by the Gleam version.)