Skip to content

Commit f1c083a

Browse files
committed
Move eslint ignore to MEMOIZATION_TTL
Remove the unnecessary eslint-disable-next-line on the memoize import and apply the no-unused-vars ignore to the MEMOIZATION_TTL constant instead. This ensures the linter suppression targets the unused constant (decorators not counted) rather than the import, improving clarity.
1 parent 7a06e1f commit f1c083a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workers/grouper/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ import RedisHelper from './redisHelper';
2525
import { computeDelta } from './utils/repetitionDiff';
2626
import { rightTrim } from '../../../lib/utils/string';
2727
import { hasValue } from '../../../lib/utils/hasValue';
28-
/* eslint-disable-next-line no-unused-vars */
2928
import { memoize } from '../../../lib/memoize';
3029

3130
/**
3231
* eslint does not count decorators as a variable usage
3332
*/
33+
/* eslint-disable-next-line no-unused-vars */
3434
const MEMOIZATION_TTL = 600_000;
3535

3636
/**

0 commit comments

Comments
 (0)