From 9de8ee5f608c961c01162197b389fb3dfdbe6005 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 Feb 2024 08:43:49 -0400 Subject: find: eslint cleanup --- src/find.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/find.js b/src/find.js index 81f910d9..beee88cc 100644 --- a/src/find.js +++ b/src/find.js @@ -1,6 +1,5 @@ import {inspect} from 'node:util'; -import CacheableObject from '#cacheable-object'; import {colors, logWarn} from '#cli'; import thingConstructors from '#things'; import {typeAppearance} from '#sugar'; @@ -18,7 +17,7 @@ function warnOrThrow(mode, message) { } export function processAllAvailableMatches(data, { - include = thing => true, + include = _thing => true, getMatchableNames = thing => (Object.hasOwn(thing, 'name') @@ -158,7 +157,7 @@ const hardcodedFindSpecs = { }, }; -export function getAllFindSpecs(key) { +export function getAllFindSpecs() { try { thingConstructors; } catch (error) { -- cgit 1.3.0-6-gf8a5