summaryrefslogtreecommitdiff
path: root/source/features/pr-commit-lines-changed.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/pr-commit-lines-changed.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/pr-commit-lines-changed.tsx')
-rw-r--r--source/features/pr-commit-lines-changed.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/features/pr-commit-lines-changed.tsx b/source/features/pr-commit-lines-changed.tsx
index f1dacb9c..53ebf2c1 100644
--- a/source/features/pr-commit-lines-changed.tsx
+++ b/source/features/pr-commit-lines-changed.tsx
@@ -21,7 +21,7 @@ const getCommitChanges = cache.function(async (commit: string): Promise<[additio
return [repository.object.additions, repository.object.deletions];
}, {
- cacheKey: ([commit]) => 'commit-changes:' + commit
+ cacheKey: ([commit]) => 'commit-changes:' + commit,
});
async function init(): Promise<void> {
@@ -38,14 +38,14 @@ async function init(): Promise<void> {
<span className="diffstat-block-neutral"/>
<span className="diffstat-block-neutral"/>
<span className="diffstat-block-neutral"/>
- </span>
+ </span>,
);
}
void features.add(__filebasename, {
include: [
- pageDetect.isPRCommit
+ pageDetect.isPRCommit,
],
awaitDomReady: false,
- init
+ init,
});