stoplightio / spectral

A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
https://stoplight.io/spectral
Apache License 2.0
2.43k stars 235 forks source link

fix(core): fix for TypeError "this.formats.has is not a function" #2654

Closed riccardo-angelilli closed 3 weeks ago

riccardo-angelilli commented 1 month ago

Fixes #2362

Checklist

Does this PR introduce a breaking change?

riccardo-angelilli commented 1 month ago

@brendarearden I have fixed the lint errors

riccardo-angelilli commented 3 weeks ago

sorry, I have inadvertently deleted the forked repo, I will open a new PR

riccardo-angelilli commented 3 weeks ago

@brendarearden the new PR is https://github.com/stoplightio/spectral/pull/2664