From 7ff5ad5d9c3ef918e33a59eacd6b0f0d17283b15 Mon Sep 17 00:00:00 2001 From: Taken Date: Thu, 26 Sep 2024 15:25:33 +0200 Subject: [PATCH] Fix for linting --- src/utils/Illegitimate.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/Illegitimate.ts b/src/utils/Illegitimate.ts index f591675..9fbd698 100644 --- a/src/utils/Illegitimate.ts +++ b/src/utils/Illegitimate.ts @@ -75,11 +75,11 @@ class Illegitimate { } private loadMethods() { - String.prototype.removeIndents = function (this: string) { + String.prototype.removeIndents = function(this: string) { return this.replace(/^ */gm, "") } - String.prototype.capitalizeFirstLetter = function (this: string) { + String.prototype.capitalizeFirstLetter = function(this: string) { return this[0].toUpperCase() + this.slice(1).toLowerCase() } }