From: Jérôme Benoit Date: Fri, 29 Dec 2023 20:11:28 +0000 (+0100) Subject: refactor: cleanup eslint-disable X-Git-Tag: v1.2.31~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e61f0f6e8773ec7e3fe3c94cff4e5e1d9a62cc9e;p=e-mobility-charging-stations-simulator.git refactor: cleanup eslint-disable Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/SharedLRUCache.ts b/src/charging-station/SharedLRUCache.ts index 123d8701..ef965b1b 100644 --- a/src/charging-station/SharedLRUCache.ts +++ b/src/charging-station/SharedLRUCache.ts @@ -116,9 +116,7 @@ export class SharedLRUCache { chargingStationConfiguration?.automaticTransactionGenerator != null && chargingStationConfiguration?.configurationHash != null && isNotEmptyArray(chargingStationConfiguration?.configurationKey) && - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion !isEmptyObject(chargingStationConfiguration.stationInfo) && - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion !isEmptyObject(chargingStationConfiguration.automaticTransactionGenerator) && isNotEmptyString(chargingStationConfiguration?.configurationHash) )