Adds a custom oxlint rule renovate/v8-ignore-no-count that flags the
count form '/* v8 ignore next <N> */'. The count is not honored by
vitest's ast-v8-to-istanbul hint parser, which captures only the
keyword (if/else/next/file); 'next' always exempts exactly the next
AST node. Trailing counts therefore suggest a line range that is never
applied and mislead readers.
The rule is autofixable (drops the count, preserving actual behavior)
and has been applied to all existing occurrences.
* feat(logger): take function parameters into account for deduplication
Previously, the `log.once` call would only take into account the "call
site" of the file + line number.
However, we have areas in the codebase (currently, and as part of future
changes) where we need to be able to call the `logger.once` functions
from the same line, but with different parameters.
We then need to make sure that the parameters are correctly passed in to
our `logOnceFn`, so we can then use them.
We use `safe-stable-stringify` to provide a more performant means to
stringify, and then hash the result to avoid large keys.
Because the `logger.once` should only be used with our logger, we can
also make the parameters required, and update tests accordingly.
Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io>
* refactor: use explicit node import
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
---------
Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>