From 2c02567309622c9e2775172367efb5d98322c3db Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sat, 25 Dec 2021 13:35:12 -0800 Subject: [PATCH] lint fixes --- .eslintignore | 1 + js/prefs.ts | 2 +- js/ui/options_modal.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index 71f4f8a..7eee4d9 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ dist json/disks/index.js node_modules +tmp diff --git a/js/prefs.ts b/js/prefs.ts index 24d8a88..8c81952 100644 --- a/js/prefs.ts +++ b/js/prefs.ts @@ -1,7 +1,7 @@ const havePrefs = typeof window.localStorage !== 'undefined'; export default class Prefs { - params: URLSearchParams + params: URLSearchParams; constructor() { this.params = new URLSearchParams(window.location.search); diff --git a/js/ui/options_modal.ts b/js/ui/options_modal.ts index bced211..db8fed0 100644 --- a/js/ui/options_modal.ts +++ b/js/ui/options_modal.ts @@ -170,5 +170,5 @@ export class OptionsModal { console.error('Cannot find target div#options-modal-content'); } MicroModal.show('options-modal'); - } + }; }