code: function (name) {
      if (!grunt.file.exists(name)) { return "{}"; }
  
      var raw = grunt.file.read(name);
      return JSON.parse(raw.replace(/\/\/.*\n/g, ""));
    }
docs: Strip comments from JsHint JSON files (naive).