Added
- Using the CLI with multiple, custom rulesets
- New syntax for rulesets, including overriding rules and extending rulesets
- More friendly errors and warnings
- CLI
--quiet
flag added to lint command, removing any output other than results - CLI
--skip-rules
flag added to lint command, to ignore certain rules
Changed
- CLI now reports errors and warnings for referenced (
$ref
) files
Removed
- Configuration files were briefly available in 3.x but removed in v4.0
- CLI
--max-results
flag is removed
Read more (including breaking changes in the blog post): https://stoplight.io/blog/spectral-v4/