You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[IGNORE] VictoriaLogs: Fix linter issues in VictoriaLogs plugin (#527)
* Run `npx eslint src --ext .ts,.tsx --fix` on the victorialogs plugin
Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
* Remove unused imports in victorialogs
Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
* Remove unused variable
Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
* Adapt code violating `no-constant-condition` in stream processing
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>
* Add lint script to victorialogs plugin
Uses the monorepo root `.eslintrc.js`.
Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
---------
Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
0 commit comments