From d822863b97e2c1aa2e5dc0897e4ce4a19c713de5 Mon Sep 17 00:00:00 2001 From: Izai Alejandro Zalles Merino Date: Mon, 13 Oct 2025 09:14:59 -0400 Subject: [PATCH] chore(lint): satisfy eslint for Base91 checks and Magic test formatting - Disable no-useless-escape locally for Base91 regex string assembly - Fix trailing spaces - Tidy comma placement in Magic tests Authored-by: Izai Alejandro Zalles Merino --- src/core/operations/FromBase91.mjs | 5 +++-- tests/operations/tests/Magic.mjs | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/operations/FromBase91.mjs b/src/core/operations/FromBase91.mjs index 08abb710..e9a24c30 100644 --- a/src/core/operations/FromBase91.mjs +++ b/src/core/operations/FromBase91.mjs @@ -2,8 +2,7 @@ * @author Izai Alejandro Zalles Merino (ialejandrozalles) * @copyright © 2025 Izai Alejandro Zalles Merino * @license Apache-2.0 - */ - + */ import { decodeBase91 } from "../lib/Base91.mjs"; import Operation from "../Operation.mjs"; @@ -23,6 +22,7 @@ class FromBase91 extends Operation { this.infoURL = "https://en.wikipedia.org/wiki/Binary-to-text_encoding#Encoding_standards"; this.inputType = "string"; this.outputType = "ArrayBuffer"; + /* eslint-disable no-useless-escape */ this.checks = [ { pattern: @@ -33,6 +33,7 @@ class FromBase91 extends Operation { "$", args: [] } + /* eslint-enable no-useless-escape */ ]; } diff --git a/tests/operations/tests/Magic.mjs b/tests/operations/tests/Magic.mjs index 7a7d15d4..b8aa5e2c 100644 --- a/tests/operations/tests/Magic.mjs +++ b/tests/operations/tests/Magic.mjs @@ -152,8 +152,7 @@ TestRegister.addTests([ args: [1, false, false] } ] - } - , + }, { name: "Magic Chain: Base91", input: "xD7ghoHB4!#/Tm_ogr$J9[JTrUJ*|jgSr!=EWoFB",