refactor: cleanup eslint-disable
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 29 Dec 2023 20:11:28 +0000 (21:11 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 29 Dec 2023 20:11:28 +0000 (21:11 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/SharedLRUCache.ts

index 123d8701e8aa05d48b7fe9c476f2933ba5c1395f..ef965b1b7366e760aca7111e50d885cc99f8fc98 100644 (file)
@@ -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)
     )