diff options
author | 2021-07-07 18:44:32 +0700 | |
---|---|---|
committer | 2021-07-07 18:44:32 +0700 | |
commit | 93899eebabea8626587cadc37b028a3c48f39228 (patch) | |
tree | a59dddeea1c6bc76b45c02ef88bba43e2800e684 /source/features/pr-commit-lines-changed.tsx | |
parent | 40ed43f6cdd23178b6c6ee7c04a5731cb2342012 (diff) | |
download | refined-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.tsx | 8 |
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, }); |