github stoplightio/spectral v4.0.0

latest releases: v6.11.1, @stoplight/spectral-cli-6.11.1, @stoplight/spectral-parsers-1.0.4...
4 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.