Skip to content

linter: GitHub Actions steps don't show full output when run without a --format flag or with --format=github #20712

@jfsiii

Description

@jfsiii

What version of Oxlint are you using?

1.56.0

What command did you run?

npx oxlint --tsconfig tsconfig.json --react-plugin .

What does your .oxlintrc.json (or oxlint.config.ts) config file look like?

{
  "jsPlugins": [{ "name": "react-compiler", "specifier": "eslint-plugin-react-hooks" }],
  "rules": {
    "react-compiler/set-state-in-render": "error",
    "react-compiler/set-state-in-effect": "error"
  }
}

What happened?

From a Discord discussion

If run without any --format or with --format=github the output is missing the full diagnostics including the final "Found N ..." and "Finished in N ..." lines

Details Image

from this run in an repro repo

Sometimes the entire output is missing, like above, and sometimes some parts of the output makes it out

screenshot showing 3 (of 6) warnings

Image

However, with --format=default everything shows as expected

zoomed out screenshot of same job/step showing all 6 warnings plus full diagnostic output Image

Metadata

Metadata

Assignees

Labels

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions