From c9206344fd8dcf65d4a806ced7be26004eb17b95 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Fri, 1 Nov 2024 19:07:24 +0000 Subject: [PATCH] Fix linting --- src/options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/options.js b/src/options.js index 9fa0a3a..0faf959 100644 --- a/src/options.js +++ b/src/options.js @@ -41,6 +41,7 @@ const validateLevel = (level) => { } if (!LEVELS.has(level)) { + // eslint-disable-next-line fp/no-mutating-methods const availableLevels = [...LEVELS].sort().join(', ') throw new TypeError( `Option "level" must not be "${level}" but one of: ${availableLevels}`,