From 4193cd87be9fe5a15f8ca37e831bc0e82fcda06d Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Thu, 25 Feb 2021 12:25:49 -0600 Subject: [PATCH] Remove unneeded eslint exception --- app/javascript/common/activestorage.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/javascript/common/activestorage.ts b/app/javascript/common/activestorage.ts index ac8ca903..5912f361 100644 --- a/app/javascript/common/activestorage.ts +++ b/app/javascript/common/activestorage.ts @@ -4,7 +4,6 @@ import { DirectUpload, Blob } from '@rails/activestorage'; export function uploadFile(controllerUrl: string, file: File): Promise { const duPromise = new Promise((resolve, reject) => { - // eslint-disable-next-line @typescript-eslint/no-empty-function const du = new DirectUpload(file, controllerUrl); du.create((error, result) => {