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/.eslintignore b/.eslintignore
new file mode 100644
index 0000000..f045b01
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,10 @@
+# eslintignore file would contain files/patterns that should
+# be ignored by the eslint json validator
+#
+# The below mentioned json files and directories are purposefully
+# made invalid in order to execute the unit tests, thus thse are
+# required to be ignored by the json validator.
+/host-bmc/test/host_effecter_jsons/malformed/*
+/host-bmc/test/host_effecter_jsons/no_json/*
+/libpldmresponder/test/pdr_jsons/state_effecter/malformed/*
+/libpldmresponder/test/pdr_jsons/state_sensor/malformed/*