summaryrefslogtreecommitdiff
path: root/source/features/patch-diff-links.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2021-07-07 18:44:32 +0700
committerGravatar GitHub <noreply@github.com> 2021-07-07 18:44:32 +0700
commit93899eebabea8626587cadc37b028a3c48f39228 (patch)
treea59dddeea1c6bc76b45c02ef88bba43e2800e684 /source/features/patch-diff-links.tsx
parent40ed43f6cdd23178b6c6ee7c04a5731cb2342012 (diff)
downloadrefined-github-93899eebabea8626587cadc37b028a3c48f39228.tar.gz
refined-github-93899eebabea8626587cadc37b028a3c48f39228.tar.zst
refined-github-93899eebabea8626587cadc37b028a3c48f39228.zip
Lint: Enable `comma-dangle` (#4545)
Diffstat (limited to 'source/features/patch-diff-links.tsx')
-rw-r--r--source/features/patch-diff-links.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/features/patch-diff-links.tsx b/source/features/patch-diff-links.tsx
index d705899f..337d034a 100644
--- a/source/features/patch-diff-links.tsx
+++ b/source/features/patch-diff-links.tsx
@@ -17,16 +17,16 @@ function init(): void {
<a href={`${commitUrl}.patch`} className="sha">patch</a>
{ ' ' /* Workaround for: JSX eats whitespace between elements */ }
<a href={`${commitUrl}.diff`} className="sha">diff</a>
- </span>
+ </span>,
);
}
void features.add(__filebasename, {
include: [
- pageDetect.isCommit
+ pageDetect.isCommit,
],
exclude: [
- pageDetect.isPRCommit404
+ pageDetect.isPRCommit404,
],
- init
+ init,
});