From 368f0b06fd189c6cff9e7112671864fc5f538048 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Mon, 2 Oct 2023 15:23:47 -0500 Subject: [PATCH] chore: pr feedback --- src/config/config.ts | 2 +- src/config/plugin-loader.ts | 2 +- src/config/plugin.ts | 3 +-- src/main.ts | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/config/config.ts b/src/config/config.ts index a201a38f7..9a3293cf4 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -4,12 +4,12 @@ import {CLIError, error, exit, warn} from '../errors' import {Debug, collectUsableIds, getCommandIdPermutations} from './util' import {Hook, Hooks, PJSON, Topic} from '../interfaces' import {Plugin as IPlugin, Options} from '../interfaces/plugin' +import { OCLIF_MARKER_OWNER, Performance } from '../performance' import {URL, fileURLToPath} from 'node:url' import {arch, userInfo as osUserInfo, release, tmpdir, type} from 'node:os' import {compact, isProd} from '../util/util' import {getHomeDir, getPlatform} from '../util/os' import { join, sep } from 'node:path' -import { OCLIF_MARKER_OWNER, Performance } from '../performance' import {Command} from '../command' import PluginLoader from './plugin-loader' import WSL from 'is-wsl' diff --git a/src/config/plugin-loader.ts b/src/config/plugin-loader.ts index 071550a6c..9b0352714 100644 --- a/src/config/plugin-loader.ts +++ b/src/config/plugin-loader.ts @@ -1,8 +1,8 @@ import * as Plugin from './plugin' import {Plugin as IPlugin, Options} from '../interfaces/plugin' +import {OCLIF_MARKER_OWNER, Performance} from '../performance' import {Debug} from './util' import {PJSON} from '../interfaces' -import {OCLIF_MARKER_OWNER, Performance} from '../performance' import {isProd} from '../util/util' import {join} from 'node:path' import {readJson} from '../util/fs' diff --git a/src/config/plugin.ts b/src/config/plugin.ts index f88be6c9e..28b884041 100644 --- a/src/config/plugin.ts +++ b/src/config/plugin.ts @@ -1,12 +1,11 @@ import {CLIError, error} from '../errors' import {Debug, getCommandIdPermutations, resolvePackage} from './util' import {Plugin as IPlugin, PluginOptions} from '../interfaces/plugin' +import {OCLIF_MARKER_OWNER, Performance} from '../performance' import {compact, isProd, mapValues} from '../util/util' import {dirname, join, parse, relative, sep} from 'node:path' import {exists, readJson, requireJson} from '../util/fs' import {loadWithData, loadWithDataFromManifest} from '../module-loader' -// eslint-disable-next-line sort-imports -import {OCLIF_MARKER_OWNER, Performance} from '../performance' import {Command} from '../command' import {Manifest} from '../interfaces/manifest' import {PJSON} from '../interfaces/pjson' diff --git a/src/main.ts b/src/main.ts index fcffe2d8b..037c1270f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,9 +1,8 @@ import * as Interfaces from './interfaces' +import {OCLIF_MARKER_OWNER, Performance} from './performance' import {URL, fileURLToPath} from 'node:url' import {format, inspect} from 'node:util' import {getHelpFlagAdditions, loadHelpClass, normalizeArgv} from './help' -// eslint-disable-next-line sort-imports -import {OCLIF_MARKER_OWNER, Performance} from './performance' import {Config} from './config' import {stdout} from './cli-ux/stream'