+import { env } from 'node:process'
/* eslint-disable n/no-unpublished-import */
import chalk from 'chalk'
import { build } from 'esbuild'
import { clean } from 'esbuild-plugin-clean'
import { copy } from 'esbuild-plugin-copy'
-import { env } from 'node:process'
const isDevelopmentBuild = env.BUILD === 'development'
const sourcemap = !!isDevelopmentBuild
this,
this.stationInfo.amperageLimitationOcppKey,
// prettier-ignore
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- (this.stationInfo.maximumAmperage! * getAmperageLimitationUnitDivider(this.stationInfo)).toString()
+ (
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ this.stationInfo.maximumAmperage! * getAmperageLimitationUnitDivider(this.stationInfo)
+ ).toString()
)
}
if (getConfigurationKey(this, StandardParametersKey.SupportedFeatureProfiles) == null) {
minLimit
)
}
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- return (!isNaN(parsedValue) ? parsedValue : options.fallbackValue!) * options.unitMultiplier!
+ return (
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ (!Number.isNaN(parsedValue) ? parsedValue : options.fallbackValue!) * options.unitMultiplier!
+ )
}
const getSampledValueTemplate = (
+import { describe, it } from 'node:test'
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
import { expect } from 'expect'
-import { describe, it } from 'node:test'
import type { ChargingStation } from '../../src/charging-station/index.js'
+import { describe, it } from 'node:test'
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
import { expect } from 'expect'
-import { describe, it } from 'node:test'
import { FileType } from '../../src/types/index.js'
import { handleFileException, logPrefix } from '../../src/utils/ConfigurationUtils.js'
+import { describe, it } from 'node:test'
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
import { expect } from 'expect'
-import { describe, it } from 'node:test'
import type { ChargingStation } from '../../src/charging-station/index.js'