github stoplightio/spectral v4.0.0

latest releases: v6.14.1, @stoplight/spectral-runtime-1.1.3, @stoplight/spectral-rulesets-1.21.2...
5 years ago

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/

Don't miss a new spectral release

NewReleases is sending notifications on new releases.