Skip to content

Conversation

@rickardsjp
Copy link
Contributor

Description

The VictoriaLogs plugin currently accounts for 87 out of the 96 linter issues in the plugins repository. This PR is a maintenance PR for those linter issues. Most of the linter issues were auto-fixable with eslint, a few were unused imports, one was an unused variable and one was the usage of while(true). None remain.

By the way, I hope ignore is the correct catalog entry for this sort of PR, but feel free to change that if necessary.

Screenshots

n/a

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
Although stream processing is probably a fine use of while(true), the
linter complains. The `ReadableStreamDefaultReader` interface's `read()`
method resolves the Promise with an object that contains a `done` property.

Therefore this commit adapts the implementation to use that property
instead. See more:

https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/read#return_value

Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
@rickardsjp rickardsjp requested a review from a team as a code owner January 16, 2026 16:06
@rickardsjp rickardsjp requested review from Gladorme and removed request for a team January 16, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant