• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kcl-lang / cli / 33462345088
35%
main: 35%

Build:
Build:
LAST BUILD BRANCH: feat/lint-all-packages
DEFAULT BRANCH: main
Ran 01 Sep 2026 02:27AM UTC
Jobs 1
Files 12
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Sep 2026 02:22AM UTC coverage: 34.857% (+4.2%) from 30.681%
33462345088

Pull #383

github

Peefy
feat(lint): support `kcl lint ./...` to lint all packages

`kcl lint` now accepts `...` patterns (e.g. `./...` or `pkg/...`) like
`go build ./...`: every directory holding KCL files under the pattern
root is linted as one package, so symbols of distinct packages never
collide and every package of a tree gets linted instead of only the
root one.

- plain files and directories passed alongside a pattern join the
  package of their directory (a plain directory still selects its root
  package only)
- every package is linted through the existing compile-only program
  path, so diagnostics keep their positions and styles, and findings
  still fail the lint with a non-zero exit
- errors are attributed to and prefixed with the package directory
- linting without a pattern is unchanged

Fixes kcl-lang/kcl#1691

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Peefy <xpf6677@163.com>
Pull Request #383: feat(lint): support kcl lint ./... to lint all packages

65 of 73 new or added lines in 1 file covered. (89.04%)

389 of 1116 relevant lines covered (34.86%)

0.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
89.04
pkg/options/lint.go
Jobs
ID Job ID Ran Files Coverage
1 33462345088.1 01 Sep 2026 02:27AM UTC 12
34.86
GitHub Action Run
Source Files on build 33462345088
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #383
  • PR Base - main (#33390332991)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc