refactor: enable ESLint rule "no-unused-vars" and handle related issues (#4080)

In PR #4072 GitHub Bot complained about an unused var. Instead of just
removing that one, I checked why ESLint hadn't complained about it: We
had disabled the rule for it.

So I enabled rule and resolved the issues that ESLint then detected.

Related to #4073
This commit is contained in:
Kristjan ESPERANTO
2026-04-02 08:56:27 +02:00
committed by GitHub
parent 32aa5c8721
commit 8e1630e8bf
28 changed files with 38 additions and 37 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ Module.register("compliments", {
},
// Override notification handler.
notificationReceived (notification, payload, sender) {
notificationReceived (notification, payload) {
if (notification === "CURRENTWEATHER_TYPE") {
this.currentWeatherType = payload.type;
}