Fix json files

I accidentally tested pldm with a json linter and found a lot
of json issues in pldm, this commit would try to fix all of them.

The issues that are fixed in this commit are
1. 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
diff --git a/libpldmresponder/examples/bios/enum_attrs.json b/libpldmresponder/examples/bios/enum_attrs.json
index 0b2c212..e18ffef 100644
--- a/libpldmresponder/examples/bios/enum_attrs.json
+++ b/libpldmresponder/examples/bios/enum_attrs.json
@@ -1,19 +1,19 @@
-# This is a sample JSON configuration file for BIOS enumeration type
+// This is a sample JSON configuration file for BIOS enumeration type
 {
    "entries":[
       {
          "attribute_name" : "HMCManagedState",
          "possible_values" : [ "On", "Off" ],
          "default_values" : [ "On" ],
-         # This BIOS attribute has a D-Bus property as backend.
+         // This BIOS attribute has a D-Bus property as backend.
          "dbus":
             {
                "object_path" : "/xyz/abc/def",
                "interface" : "xyz.openbmc_project.HMCManaged.State",
                "property_name" : "State",
                "property_type" : "string",
-               # Number of property_values should match to the number of possible values.
-               # Each is entry in the possible_values is mapped to entry in property_values.
+               // Number of property_values should match to the number of possible values.
+               // Each is entry in the possible_values is mapped to entry in property_values.
                "property_values" : ["xyz.openbmc_project.State.On", "xyz.openbmc_project.State.Off"]
             }
       },
@@ -44,7 +44,7 @@
             }
       },
       {
-         # This is an example of BIOS Enumeration Read only attribute
+         // This is an example of BIOS Enumeration Read only attribute
          "attribute_name" : "CodeUpdatePolicy",
          "possible_values" : [ "Concurrent", "Disruptive" ],
          "default_values" : [ "Concurrent" ]