From ad6430e462cda04ebc9f1c4acc5fad2fe6c1265f Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Thu, 21 Nov 2024 16:54:18 -0300 Subject: [PATCH] update eslint config --- package.json | 3 ++- src/cuckoo/bucket.ts | 2 -- src/sketch/min-hash-factory.ts | 1 - src/sketch/topk.ts | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5bdfd75..02777f2 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,8 @@ "./src" ], "tryExtensions": [ - ".ts" + ".ts", + ".js" ] } }, diff --git a/src/cuckoo/bucket.ts b/src/cuckoo/bucket.ts index d6ead75..0ee945a 100644 --- a/src/cuckoo/bucket.ts +++ b/src/cuckoo/bucket.ts @@ -22,9 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -// eslint-disable-next-line node/no-missing-import import eq from 'lodash/eq' -// eslint-disable-next-line node/no-missing-import import indexOf from 'lodash/indexOf' import * as utils from '../utils' import {Exportable} from '../exportable' diff --git a/src/sketch/min-hash-factory.ts b/src/sketch/min-hash-factory.ts index 3cce78e..fb06292 100644 --- a/src/sketch/min-hash-factory.ts +++ b/src/sketch/min-hash-factory.ts @@ -23,7 +23,6 @@ SOFTWARE. */ import {HashFunction, MinHash} from './min-hash' -// eslint-disable-next-line node/no-missing-import import random from 'lodash/random' /** diff --git a/src/sketch/topk.ts b/src/sketch/topk.ts index a9e90c2..28abaf9 100644 --- a/src/sketch/topk.ts +++ b/src/sketch/topk.ts @@ -25,7 +25,6 @@ SOFTWARE. import BaseFilter from '../base-filter' import CountMinSketch from './count-min-sketch' import {AutoExportable, Field, Parameter} from '../exportable' -// eslint-disable-next-line node/no-missing-import import sortedIndexBy from 'lodash/sortedIndexBy' /**