Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fehler / Warnungen beim Umstellen auf ESLint 9.x #1123

Open
BenAhrdt opened this issue Dec 4, 2024 · 0 comments
Open

Bug Fehler / Warnungen beim Umstellen auf ESLint 9.x #1123

BenAhrdt opened this issue Dec 4, 2024 · 0 comments

Comments

@BenAhrdt
Copy link

BenAhrdt commented Dec 4, 2024

Der Adapter erzeugt keine Kommentare hinter parameter, bzw. benutzt bei einem try catch nicht die exception.
Dies fürt bei npm run lint (Umstellug auf eslint 9.x) zu fehlern / warnungen.

Bspw. hier:

/** * Is called when adapter shuts down - callback has to be called under any circumstances! * * @param callback */ onUnload(callback) { try { // clear all schedules for (const seconds in this.cronJobs) { schedule.cancelJob(this.cronJobs[seconds][this.jobId]); } callback(); } catch (e) { callback(); } }

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

No branches or pull requests

1 participant