ajv-validator / ajv-validator/ajv-cli

There is no way to disable strict mode when using cli

未關閉
#220 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
316
分支
77
PR 合併指標
30 天內沒有已合併 PR

描述

Apparently there is no way to disable strict mode when using ajv and that would not be such a big deal unless it would have allowed me to make use of `markdownDescription` property, something that is very popular among schema authors as it allows us to include markdown in descriptions and have nice popup in IDEs, like vscode.

```shell
$ ajv compile -s f/ansible-meta.json
error: strict mode: unknown keyword: "markdownDescription"
```

While I was able to fix the other problems, that one is impossible to address. This also make it impossible to use ajv-cli as part of CI/CD pipelines for validating the schema, as it would always be "invalid" due to this.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。