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
diff --git a/example/lamp-test/lamp-test-led-overrides.json b/example/lamp-test/lamp-test-led-overrides.json
index f71c324..bf4765b 100644
--- a/example/lamp-test/lamp-test-led-overrides.json
+++ b/example/lamp-test/lamp-test-led-overrides.json
@@ -1,17 +1,18 @@
 {
-    # This section of this json contains name of physical leds that
-    # will get triggered during lamp test overriding lamp-test
-    # requirements these will be hosted as
-    # /xyz/openbmc_project/led/physical/<$name_in_this_file>
+    // This section of this json contains name of physical leds that
+    // will get triggered during lamp test overriding lamp-test
+    // requirements these will be hosted as
+    // /xyz/openbmc_project/led/physical/<$name_in_this_file>
     "forceLEDs":[
         "virtual_enclosure_fault",
         "virtual_enclosure_identify"
     ],
 
-    # This section of this json contains name of physical leds that
-    # will not get triggered during lamp test 
-    # these will be hosted as
-    # /xyz/openbmc_project/led/physical/<$name_in_this_file>
+    // This section of this json contains name of physical leds that
+    // will not get triggered during lamp test
+    // these will be hosted as
+    // /xyz/openbmc_project/led/physical/<$name_in_this_file>
     "skipLEDs":[
     ]
-}
\ No newline at end of file
+}
+