diff --git a/.eslintrc.json b/.eslintrc.json index 31aae27f..3e685a0d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -23,6 +23,7 @@ }, "rules": { "prettier/prettier": "error", + "eqeqeq": "error", "no-prototype-builtins": "off", "no-unused-vars": "off" } diff --git a/modules/default/weather/providers/weathergov.js b/modules/default/weather/providers/weathergov.js index 65600ad3..4ae25f56 100755 --- a/modules/default/weather/providers/weathergov.js +++ b/modules/default/weather/providers/weathergov.js @@ -130,7 +130,7 @@ WeatherProvider.register("weathergov", { // excellent, let's fetch some actual wx data this.configURLs = true; // handle 'forecast' config, fall back to 'current' - if (config.type == "forecast") { + if (config.type === "forecast") { this.fetchWeatherForecast(); } else { this.fetchCurrentWeather();