mirror of
https://github.com/chenasraf/schemastore.git
synced 2026-05-18 01:58:58 +00:00
Support TOML test files (#2370)
* refactor: remove many JSON.parse() The old code use multiple times JSON.parse() The code is now more clear that there are: callbackParameter.rawFile callbackParameter.jsonObj * update the axios to get the 'arraybuffer' as download. The old code get the default JSON object as response. * add toml for schema test validation * hide count for fullstrict mode if only one AJV schema is scan The output is not correct any more * add one toml test file * update package.json * update pull request template * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
040db01b68
commit
522b0fbd2a
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -5,7 +5,7 @@ Before continuing, please read the guidelines:
|
||||
https://github.com/SchemaStore/schemastore/blob/master/CONTRIBUTING.md
|
||||
|
||||
Adding a JSON schema file to the catalog is required.
|
||||
It is recommended to add tests.
|
||||
Add tests files. (.json, .yml, .yaml or .toml)
|
||||
Use the lowest possible schema draft needed, preferably Draft v4.
|
||||
JSON formatted according to the .editorconfig settings.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user