|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <title>ESLint Report</title> |
| 6 | + <style> |
| 7 | + body { |
| 8 | + font-family:Arial, "Helvetica Neue", Helvetica, sans-serif; |
| 9 | + font-size:16px; |
| 10 | + font-weight:normal; |
| 11 | + margin:0; |
| 12 | + padding:0; |
| 13 | + color:#333 |
| 14 | + } |
| 15 | + #overview { |
| 16 | + padding:20px 30px |
| 17 | + } |
| 18 | + td, th { |
| 19 | + padding:5px 10px |
| 20 | + } |
| 21 | + h1 { |
| 22 | + margin:0 |
| 23 | + } |
| 24 | + table { |
| 25 | + margin:30px; |
| 26 | + width:calc(100% - 60px); |
| 27 | + max-width:1000px; |
| 28 | + border-radius:5px; |
| 29 | + border:1px solid #ddd; |
| 30 | + border-spacing:0px; |
| 31 | + } |
| 32 | + th { |
| 33 | + font-weight:400; |
| 34 | + font-size:medium; |
| 35 | + text-align:left; |
| 36 | + cursor:pointer |
| 37 | + } |
| 38 | + td.clr-1, td.clr-2, th span { |
| 39 | + font-weight:700 |
| 40 | + } |
| 41 | + th span { |
| 42 | + float:right; |
| 43 | + margin-left:20px |
| 44 | + } |
| 45 | + th span:after { |
| 46 | + content:""; |
| 47 | + clear:both; |
| 48 | + display:block |
| 49 | + } |
| 50 | + tr:last-child td { |
| 51 | + border-bottom:none |
| 52 | + } |
| 53 | + tr td:first-child, tr td:last-child { |
| 54 | + color:#9da0a4 |
| 55 | + } |
| 56 | + #overview.bg-0, tr.bg-0 th { |
| 57 | + color:#468847; |
| 58 | + background:#dff0d8; |
| 59 | + border-bottom:1px solid #d6e9c6 |
| 60 | + } |
| 61 | + #overview.bg-1, tr.bg-1 th { |
| 62 | + color:#f0ad4e; |
| 63 | + background:#fcf8e3; |
| 64 | + border-bottom:1px solid #fbeed5 |
| 65 | + } |
| 66 | + #overview.bg-2, tr.bg-2 th { |
| 67 | + color:#b94a48; |
| 68 | + background:#f2dede; |
| 69 | + border-bottom:1px solid #eed3d7 |
| 70 | + } |
| 71 | + td { |
| 72 | + border-bottom:1px solid #ddd |
| 73 | + } |
| 74 | + td.clr-1 { |
| 75 | + color:#f0ad4e |
| 76 | + } |
| 77 | + td.clr-2 { |
| 78 | + color:#b94a48 |
| 79 | + } |
| 80 | + td a { |
| 81 | + color:#3a33d1; |
| 82 | + text-decoration:none |
| 83 | + } |
| 84 | + td a:hover { |
| 85 | + color:#272296; |
| 86 | + text-decoration:underline |
| 87 | + } |
| 88 | + </style> |
| 89 | + </head> |
| 90 | + <body> |
| 91 | + <div id="overview" class="bg-1"> |
| 92 | + <h1>ESLint Report</h1> |
| 93 | + <div> |
| 94 | + <span>2 problems (0 errors, 2 warnings)</span> - Generated on Sun Oct 20 2019 16:13:20 GMT-0700 (Pacific Daylight Time) |
| 95 | + </div> |
| 96 | + </div> |
| 97 | + <table> |
| 98 | + <tbody> |
| 99 | + <tr class="bg-1" data-group="f-0"> |
| 100 | + <th colspan="4"> |
| 101 | + [+] /Users/mrin/work/webpack-lit-openapi/src/rapidoc.js |
| 102 | + <span>2 problems (0 errors, 2 warnings)</span> |
| 103 | + </th> |
| 104 | +</tr> |
| 105 | +<tr style="display:none" class="f-0"> |
| 106 | + <td>802:7</td> |
| 107 | + <td class="clr-1">Warning</td> |
| 108 | + <td>Unexpected console statement.</td> |
| 109 | + <td> |
| 110 | + <a href="" target="_blank" rel="noopener noreferrer">no-console</a> |
| 111 | + </td> |
| 112 | +</tr> |
| 113 | + |
| 114 | +<tr style="display:none" class="f-0"> |
| 115 | + <td>815:11</td> |
| 116 | + <td class="clr-1">Warning</td> |
| 117 | + <td>Unexpected console statement.</td> |
| 118 | + <td> |
| 119 | + <a href="" target="_blank" rel="noopener noreferrer">no-console</a> |
| 120 | + </td> |
| 121 | +</tr> |
| 122 | + |
| 123 | + </tbody> |
| 124 | + </table> |
| 125 | + <script type="text/javascript"> |
| 126 | + var groups = document.querySelectorAll("tr[data-group]"); |
| 127 | + for (i = 0; i < groups.length; i++) { |
| 128 | + groups[i].addEventListener("click", function() { |
| 129 | + var inGroup = document.getElementsByClassName(this.getAttribute("data-group")); |
| 130 | + this.innerHTML = (this.innerHTML.indexOf("+") > -1) ? this.innerHTML.replace("+", "-") : this.innerHTML.replace("-", "+"); |
| 131 | + for (var j = 0; j < inGroup.length; j++) { |
| 132 | + inGroup[j].style.display = (inGroup[j].style.display !== "none") ? "none" : "table-row"; |
| 133 | + } |
| 134 | + }); |
| 135 | + } |
| 136 | + </script> |
| 137 | + </body> |
| 138 | +</html> |
0 commit comments