)]}'
{
  "commit": "746f36662aca0f1544bd9bc585618d971bfea8d1",
  "tree": "6e125e695880e29a929db87e5d28003ba3ef055b",
  "parents": [
    "7dbbb80180805bfc21a81a6e770b6724c8f47024"
  ],
  "author": {
    "name": "Aditya Gupta",
    "email": "agaditya@codeaurora.org",
    "time": "Mon Aug 30 10:13:20 2021 +0530"
  },
  "committer": {
    "name": "Aditya Gupta",
    "email": "agaditya@codeaurora.org",
    "time": "Fri Sep 03 19:59:31 2021 +0530"
  },
  "message": "enable google Javascript formatter\n\nAdd eslint bazel rule support so that javascript files can be linted\nusing google javascript formatting guidelines.\n\neslint can be ran with following command :\n    bazel test lint_test\n\nif javascript files are formatted correctly according to google\njavascript formatting guidelines then above command passes successfully\notherwise above command fails with path to \"test.log\" file which\ncontains information about the rule that is violated.\n\nfollowing command can be used for formatting javascript files :\n    bazel run lint_test -- --fix /path/to/file.js\n\nalso update zuul configuration to run eslint rule in zuul CI\n\nalso fix following lint error reported by eslint :\n error  Missing @license  jsdoc/require-file-overview\n\nReferences :\nhttps://gerrit.googlesource.com/gerrit/\n    +/refs/heads/stable-3.2/tools/js\n\nhttps://gerrit.googlesource.com/gerrit/\n    +/refs/heads/stable-3.2/package.json\n\nhttps://gerrit.googlesource.com/plugins\n    /codemirror-editor/+/refs/heads/master/.eslintrc.json\n\n\".eslintrc\" is referenced from above location since its formatted\nthere.\n\nChange-Id: I65356de70c4eeb4cbce1dbc001cbf214a3477fa5\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f68c4a400c1fe28bfac3ed26d48978748b5d5a13",
      "new_mode": 33188,
      "new_path": ".eslintignore"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0c290fa9f5b3d58a8320c40ba50a92b045d3986f",
      "new_mode": 33188,
      "new_path": ".eslintrc.json"
    },
    {
      "type": "modify",
      "old_id": "e95b300ac7005c067f2c94947c1ee05bbe669c24",
      "old_mode": 33188,
      "old_path": ".zuul.yaml",
      "new_id": "1f7a7ca88f46cea7f224fba388840340cdd71678",
      "new_mode": 33188,
      "new_path": ".zuul.yaml"
    },
    {
      "type": "modify",
      "old_id": "7771e412024d0626579878fd5795edb8f3f11045",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "eaf6ce391486e81b626ff93617d9a6d375756a54",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "028abcc42d35f5977ef2b1dc4e67b834cdb2d3dc",
      "old_mode": 33188,
      "old_path": "WORKSPACE",
      "new_id": "af57aa6de6518bfd6bb001e803e95666292234d6",
      "new_mode": 33188,
      "new_path": "WORKSPACE"
    },
    {
      "type": "delete",
      "old_id": "b5d3daed5a97f35ee99437e13c662b6192853024",
      "old_mode": 33188,
      "old_path": "gr-task-plugin/.eslintrc.json",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "50c49ef4c5727ece796cc08ba4da334a4948f9c1",
      "old_mode": 33188,
      "old_path": "gr-task-plugin/gr-task-plugin.js",
      "new_id": "ace9f607e91a15dd91fd4a387474bcaecd861a07",
      "new_mode": 33188,
      "new_path": "gr-task-plugin/gr-task-plugin.js"
    },
    {
      "type": "modify",
      "old_id": "4fe838aeb746d9f169c4db67e881627567643ff8",
      "old_mode": 33188,
      "old_path": "package.json",
      "new_id": "fe5067c6a02ec9e520273096b3cc47e871a6e383",
      "new_mode": 33188,
      "new_path": "package.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1fa2160dd5da0b700ea6ac704284335307661d0e",
      "new_mode": 33188,
      "new_path": "tools/js/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b6d3f006a0152761364376e061b1cbd684b00d8b",
      "new_mode": 33188,
      "new_path": "tools/js/eslint.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0664ef61bfa615cd2ac80f87314de0edb18d2a14",
      "new_mode": 33188,
      "new_path": "yarn.lock"
    }
  ]
}
