You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx @stoplight/spectral-cli lint doc.json causes red text to flash up briefly and then disappear.
npx @stoplight/spectral-cli lint doc.json 2>&1 shows the error is No ruleset has been found. Please provide a ruleset using the --ruleset CLI argument, or make sure your ruleset file matches .?spectral.(js|ya?ml|json)
Which makes sense.
Two things here: I'm not sure what terminal control stuff you're using but something strange is happening here
To Reproduce
Given any JSON file, forget to set up a ruleset.
Using npm/npx 10.9.0 from Debian Trixie, run npx @stoplight/spectral-cli lint doc.json
See error flash up and disappear
Expected behavior
Error to be displayed without less or cat tricks.
The text was updated successfully, but these errors were encountered:
Describe the bug
npx @stoplight/spectral-cli lint doc.json
causes red text to flash up briefly and then disappear.npx @stoplight/spectral-cli lint doc.json 2>&1
shows the error isNo ruleset has been found. Please provide a ruleset using the --ruleset CLI argument, or make sure your ruleset file matches .?spectral.(js|ya?ml|json)
Which makes sense.
Two things here: I'm not sure what terminal control stuff you're using but something strange is happening here
To Reproduce
npx @stoplight/spectral-cli lint doc.json
Expected behavior
Error to be displayed without less or cat tricks.
The text was updated successfully, but these errors were encountered: