SchemaStore / schemastore

A collection of JSON schema files including full API
http://schemastore.org
Apache License 2.0
3.1k stars 1.71k forks source link

clang-tidy schema marks "key value" style of CheckOptions as invalid #4095

Closed alexolog closed 1 month ago

alexolog commented 1 month ago

Area with issue?

JSON Schema

✔️ Expected Behavior

No diagnostics on old format CheckOptions

❌ Actual Behavior

Diagnostic emitted:

Incorrect type. Expected "object(clang-tidy)".yaml-schema: clang-tidy

YAML or JSON file that does not work.

---
CheckOptions:
  - key: concurrency-mt-unsafe.FunctionSet
    value: "posix"
...

IDE or code editor.

Visual Studio Code

Are you making a PR for this?

No, someone else must create the PR.

hyperupcall commented 1 month ago

Thanks for your report! I regret not unmerging #3805 when I had time to review it... This is fixed by #4100