summaryrefslogtreecommitdiff
path: root/source/features/clean-repo-filelist-actions.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/clean-repo-filelist-actions.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/clean-repo-filelist-actions.tsx')
-rw-r--r--source/features/clean-repo-filelist-actions.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/features/clean-repo-filelist-actions.tsx b/source/features/clean-repo-filelist-actions.tsx
index 98f4397d..c46f26de 100644
--- a/source/features/clean-repo-filelist-actions.tsx
+++ b/source/features/clean-repo-filelist-actions.tsx
@@ -12,7 +12,7 @@ import features from '.';
function addTooltipToSummary(childElement: Element, tooltip: string): void {
wrap(
childElement.closest('details')!,
- <div className="tooltipped tooltipped-ne" aria-label={tooltip}/>
+ <div className="tooltipped tooltipped-ne" aria-label={tooltip}/>,
);
}
@@ -45,14 +45,14 @@ function init(): void {
addTooltipToSummary(downloadIcon, 'Clone, open or download');
}
- }
+ },
});
}
void features.add(__filebasename, {
include: [
pageDetect.isRepoTree,
- pageDetect.isSingleFile
+ pageDetect.isSingleFile,
],
- init: onetime(init)
+ init: onetime(init),
});