From fb1b80d615df76df04e5560389c8bc71274d337c Mon Sep 17 00:00:00 2001 From: Guillaume GABOREL Date: Wed, 19 Jun 2024 09:43:00 +0200 Subject: [PATCH] style: remove unused var rule for the mocks --- src/mock/kafkaConsumer.mock.ts | 10 +++------- src/mock/kafkaProducer.mock.ts | 2 ++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/mock/kafkaConsumer.mock.ts b/src/mock/kafkaConsumer.mock.ts index 6143736..834609a 100644 --- a/src/mock/kafkaConsumer.mock.ts +++ b/src/mock/kafkaConsumer.mock.ts @@ -1,10 +1,6 @@ -import { - ClientMetrics, - Message, - Metadata, - TopicPartitionOffset, - WatermarkOffsets, -} from 'node-rdkafka'; +/* eslint @typescript-eslint/no-unused-vars: 0 */ + +import { ClientMetrics, Message, Metadata, TopicPartitionOffset, WatermarkOffsets } from 'node-rdkafka'; import { KafkaConsumerInterface } from '../lib/kafkaConsumerInterface'; export class KafkaConsumerMock implements KafkaConsumerInterface { diff --git a/src/mock/kafkaProducer.mock.ts b/src/mock/kafkaProducer.mock.ts index 0308cd2..c0325f3 100644 --- a/src/mock/kafkaProducer.mock.ts +++ b/src/mock/kafkaProducer.mock.ts @@ -1,3 +1,5 @@ +/* eslint @typescript-eslint/no-unused-vars: 0 */ + import { KafkaProducerInterface } from '../lib/kafkaProducerInterface'; import { ClientMetrics, Metadata } from 'node-rdkafka';