Instruction file imported from microsoft/MLOS (
.github/instructions/json.instructions.md). Copyright stays with the author.
JSON language instructions
-
Include instructions from default.instructions.md for all languages.
-
Files with a
.jsonextension that are ARM templates or JSON schema files should be well formatted and valid JSON, without any comments, trailing commas, etc. -
Files with a
.jsonextension that are VSCode settings files (e.g., inside the .vscode) or .devcontainer directories) should be well formatted and valid JSON, but may contain comments, trailing commas, etc. -
Files with a
.jsoncor.json5extension should be well formatted and valid JSON5 or JSONC or JSON, and can include comments, trailing commas, etc. -
If a file is an
mlos_benchconfig, it should have a.mlos.jsoncof.mlos.jsonor.mlos.json5extension, and should generally match the schemas defined in the mlos_bench/configs/schemas/ directory (e.g., mlos-bench-config-schema.json), unless it is a test config under the tests/configs/schemas directory.