-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I'm running pnpm vite lint --rules --format=json to get a JSON format output of the oxlint rules list in the oxc playground.
Unfortunately, this will get cached and then a cache message is also printed, and so the file I save it as - or the command I pipe it to - no longer gets a valid JSON object. This is very annoying.
[
// many many log lines before this
{
"scope": "vue",
"value": "valid-define-emits",
"category": "correctness",
"type_aware": false,
"fix": "pending",
"default": false,
"docs_url": "https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-emits.html"
},
{
"scope": "vue",
"value": "valid-define-props",
"category": "correctness",
"type_aware": false,
"fix": "pending",
"default": false,
"docs_url": "https://oxc.rs/docs/guide/usage/linter/rules/vue/valid-define-props.html"
}
]✓ cache hit, logs replayed
failed to parse JSON output from `pnpm vite lint --rules --format=json`
ELIFECYCLE Command failed with exit code 1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels