Skip to content

Add warning stats to lint summary output#6714

Merged
bentsherman merged 2 commits intomasterfrom
claude/update-lint-summary-7eY5n
Jan 12, 2026
Merged

Add warning stats to lint summary output#6714
bentsherman merged 2 commits intomasterfrom
claude/update-lint-summary-7eY5n

Conversation

@ewels
Copy link
Member

@ewels ewels commented Jan 12, 2026

Follow on to #6625

I realised that the summary only had info about errors still. Updated the code to mirror the summary error info with warnings too.

Example output:

After:

"summary": {
    "errors": 7,
    "filesWithErrors": 2,
    "filesWithoutErrors": 20,
    "filesFormatted": 0,
    "warnings": 3,
    "filesWithWarnings": 2,
    "filesWithoutWarnings": 20
}

Before:

"summary": {
    "errors": 7,
    "filesWithErrors": 2,
    "filesWithoutErrors": 20,
    "filesFormatted": 0
}

Update the lint command's JSON output and terminal display to include
warning statistics (warnings, filesWithWarnings, filesWithoutWarnings)
alongside the existing error statistics in the summary section.

Signed-off-by: Claude <noreply@anthropic.com>
@ewels ewels requested a review from bentsherman January 12, 2026 16:34
@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 80a7a4d
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/6965303be7ea2200077f2d80

@bentsherman bentsherman merged commit 1bfc7bf into master Jan 12, 2026
24 checks passed
@bentsherman bentsherman deleted the claude/update-lint-summary-7eY5n branch January 12, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants