Fix json files
Efforts are made to enable json validation in CI at
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-build-scripts/+/45902
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.But this repo
used # for commenting. This commit is an attempt to fix it so that
the json validator can run against this repo.
For more details please check the below link:
https://github.com/nlohmann/json#comments-in-json
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Idbb52d5588317afdb5566a99c326ac1f07d94248
diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 0000000..c300c4d
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,3 @@
+# eslintignore file would contain files/patterns that should
+# be ignored by the eslint json validator
+test/config/led-group-config-malformed.json