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/pdr/sensor_pdr.json b/libpldmresponder/examples/pdr/sensor_pdr.json
index 5b53580..1d0489a 100644
--- a/libpldmresponder/examples/pdr/sensor_pdr.json
+++ b/libpldmresponder/examples/pdr/sensor_pdr.json
@@ -1,14 +1,14 @@
-# This JSON is tied with BMC's PDRs. Each entry is used to identify a group of
-# composite sensors.
+// This JSON is tied with BMC's PDRs. Each entry is used to identify a group of
+// composite sensors.
 {
   "sensorPDRs": [
     {
-      # StateSensorPDR
-      # Each sensor in each group of composite sensors has a separate entry and the
-      # supported event states, up to eight.
-      # The "dbus" section contains information about the corresponding D-Bus
-      # property for the sensor and "property_values" are the D-Bus property values
-      # for each corresponding entry in the "states".
+      // StateSensorPDR
+      // Each sensor in each group of composite sensors has a separate entry and the
+      // supported event states, up to eight.
+      // The "dbus" section contains information about the corresponding D-Bus
+      // property for the sensor and "property_values" are the D-Bus property values
+      // for each corresponding entry in the "states".
       "pdrType": 4,
       "entries": [
         {
@@ -61,4 +61,4 @@
       ]
     }
   ]
-}
\ No newline at end of file
+}