mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Remove useless returns and now unused jsdoc variables
This commit is contained in:
parent
e2158716d6
commit
a273266e5e
@ -25,6 +25,7 @@
|
|||||||
"prettier/prettier": "error",
|
"prettier/prettier": "error",
|
||||||
"eqeqeq": "error",
|
"eqeqeq": "error",
|
||||||
"no-prototype-builtins": "off",
|
"no-prototype-builtins": "off",
|
||||||
"no-unused-vars": "off"
|
"no-unused-vars": "off",
|
||||||
|
"no-useless-return": "error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -513,8 +513,6 @@ WeatherProvider.register("envcanada", {
|
|||||||
weather.maxTemperature = this.convertTemp(nextTemp);
|
weather.maxTemperature = this.convertTemp(nextTemp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -560,8 +558,6 @@ WeatherProvider.register("envcanada", {
|
|||||||
weather.precipitation = foreGroup[today].querySelector("abbreviatedForecast pop").textContent;
|
weather.precipitation = foreGroup[today].querySelector("abbreviatedForecast pop").textContent;
|
||||||
weather.precipitationUnits = foreGroup[today].querySelector("abbreviatedForecast pop").getAttribute("units");
|
weather.precipitationUnits = foreGroup[today].querySelector("abbreviatedForecast pop").getAttribute("units");
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* global WeatherProvider, WeatherObject, SunCalc */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* Magic Mirror
|
/* Magic Mirror
|
||||||
* Module: Weather
|
* Module: Weather
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* global WeatherProvider, WeatherObject, SunCalc */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* Magic Mirror
|
/* Magic Mirror
|
||||||
* Module: Weather
|
* Module: Weather
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* global WeatherProvider, WeatherObject, SunCalc */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* Magic Mirror
|
/* Magic Mirror
|
||||||
* Module: Weather
|
* Module: Weather
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* global WeatherProvider, WeatherObject, SunCalc */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* Magic Mirror
|
/* Magic Mirror
|
||||||
* Module: Weather
|
* Module: Weather
|
||||||
|
Loading…
x
Reference in New Issue
Block a user