« get me outta code hell

find: eslint cleanup - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-16 08:43:49 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-16 09:03:14 -0400
commit9de8ee5f608c961c01162197b389fb3dfdbe6005 (patch)
treeecf99aeadb706fc34bdaada61d229e13a20de978
parent8294eeb70d6822c76393f4cf81bd233cb7803e16 (diff)
find: eslint cleanup
-rw-r--r--src/find.js5
1 files 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) {