summaryrefslogtreecommitdiff
path: root/source/features/quick-comment-edit.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/quick-comment-edit.tsx')
-rw-r--r--source/features/quick-comment-edit.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/quick-comment-edit.tsx b/source/features/quick-comment-edit.tsx
index ec2ec9ca..9e9e4957 100644
--- a/source/features/quick-comment-edit.tsx
+++ b/source/features/quick-comment-edit.tsx
@@ -28,7 +28,8 @@ function addQuickEditButton(commentForm: Element): void {
);
}
-function canEditEveryComment(): boolean {
+// eslint-disable-next-line import/prefer-default-export
+export function canEditEveryComment(): boolean {
return select.exists([
// If you can lock conversations, you have write access
'.lock-toggle-link > .octicon-lock',