diff --git a/.prettierrc b/.prettierrc index 12c5f8d..0e3ffe3 100644 --- a/.prettierrc +++ b/.prettierrc @@ -12,7 +12,6 @@ "printWidth": 80, "proseWrap": "preserve", "quoteProps": "as-needed", - "requirePragma": false, "semi": true, "singleAttributePerLine": false, "singleQuote": false, diff --git a/game/cl.html b/game/cl.html index 5b69eb6..0cb31b6 100644 --- a/game/cl.html +++ b/game/cl.html @@ -18,6 +18,9 @@ commits.forEach((commit) => { const listItem = document.createElement("li"); const itemText = document.createElement("pre"); + const itemLink = document.createElement("a"); + itemLink.href = commit.html_url; + itemLink.target = "_blank"; const authorName = commit.commit.author.name; let committerName = commit.commit.committer.name; const committerLogin = commit.committer.login; @@ -45,7 +48,8 @@ itemText.innerHTML = `${allAuthors}: `; itemText.innerText += commitMessage.split("\n")[0]; commitList.appendChild(listItem); - listItem.appendChild(itemText); + itemLink.appendChild(itemText); + listItem.appendChild(itemLink); }); }) .catch((error) => {