From: Jérôme Benoit Date: Sat, 2 Nov 2024 21:05:09 +0000 (+0100) Subject: chore: sort imports X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=101c60336594cd2d7367ccf7606e144e1c98687b;p=e-mobility-charging-stations-simulator.git chore: sort imports Signed-off-by: Jérôme Benoit --- diff --git a/scripts/bundle.js b/scripts/bundle.js index 66fbb003..35caeb57 100644 --- a/scripts/bundle.js +++ b/scripts/bundle.js @@ -1,9 +1,9 @@ -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 diff --git a/tests/charging-station/Helpers.test.ts b/tests/charging-station/Helpers.test.ts index 32c9e333..9d1df21b 100644 --- a/tests/charging-station/Helpers.test.ts +++ b/tests/charging-station/Helpers.test.ts @@ -1,6 +1,6 @@ -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' diff --git a/tests/utils/ConfigurationUtils.test.ts b/tests/utils/ConfigurationUtils.test.ts index a8c6d177..23f6c5ac 100644 --- a/tests/utils/ConfigurationUtils.test.ts +++ b/tests/utils/ConfigurationUtils.test.ts @@ -1,6 +1,6 @@ -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' diff --git a/tests/utils/ErrorUtils.test.ts b/tests/utils/ErrorUtils.test.ts index ff7cd5a7..b05eec74 100644 --- a/tests/utils/ErrorUtils.test.ts +++ b/tests/utils/ErrorUtils.test.ts @@ -1,6 +1,6 @@ -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'