prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.
prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
Fix json filesI accidentally tested pldm with a json linter and found a lotof json issues in pldm, this commit would try to fix all of them.The issues that are fixed in this commit are1. As per
Fix json filesI accidentally tested pldm with a json linter and found a lotof json issues in pldm, this commit would try to fix all of them.The issues that are fixed in this commit are1. As per nlohmann json, it only support // & /**/ for comments and those can be treated as spaces when we pass "true" for the skipcomments argument for the json::parse() function. Most of the places we used # for commenting.2. RFC 7159 does not support hexadecimal numbers in json,so replacing it with its decimal equivalent.3. This commit also adds the configuration files for eslint json linting as well the eslintignore configuration.Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>Change-Id: I909fae9ded93f47273276593fdf758449252f52f
tests: Organize the test code to make it modularThe unit test code for libpldmresponder, host-bmc and common isin a shared test directory. This patch separates the test codeto the respective dire
tests: Organize the test code to make it modularThe unit test code for libpldmresponder, host-bmc and common isin a shared test directory. This patch separates the test codeto the respective directory.Tested: Ran the unit test and tests passed.Signed-off-by: Tom Joseph <rushtotom@gmail.com>Change-Id: I31d53681fa6c0d8bc6eb7c4e3341aaff4bc341ee