Skip to content

Commit 0771cc7

Browse files
committed
Lint nits
1 parent f54f48b commit 0771cc7

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.ncurc.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"loglevel": "minimal",
3-
"reject": ["@typescript/native-preview", "eslint-plugin-unicorn", "terminal-link"],
3+
"reject": [
4+
"@typescript/native-preview",
5+
"eslint-plugin-unicorn",
6+
"terminal-link"
7+
],
48
"upgrade": true
59
}

src/commands/fix/agent-fix.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from 'node:path'
33

44
import semver from 'semver'
55

6-
import { getManifestData, type EcosystemString } from '@socketsecurity/registry'
6+
import { getManifestData } from '@socketsecurity/registry'
77
import { arrayUnique } from '@socketsecurity/registry/lib/arrays'
88
import { debugDir, debugFn, isDebug } from '@socketsecurity/registry/lib/debug'
99
import { logger } from '@socketsecurity/registry/lib/logger'
@@ -57,6 +57,7 @@ import type { CResult } from '../../types.mts'
5757
import type { EnvDetails } from '../../utils/package-environment.mts'
5858
import type { RangeStyle } from '../../utils/semver.mts'
5959
import type { AlertsByPurl } from '../../utils/socket-package-alert.mts'
60+
import type { EcosystemString } from '@socketsecurity/registry'
6061
import type {
6162
EditablePackageJson,
6263
Packument,

src/utils/meow-with-subcommands.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ import { logger } from '@socketsecurity/registry/lib/logger'
77
import { hasOwn, toSortedObject } from '@socketsecurity/registry/lib/objects'
88
import { normalizePath } from '@socketsecurity/registry/lib/path'
99
import { naturalCompare } from '@socketsecurity/registry/lib/sorts'
10-
import { indentString, trimNewlines } from '@socketsecurity/registry/lib/strings'
10+
import {
11+
indentString,
12+
trimNewlines,
13+
} from '@socketsecurity/registry/lib/strings'
1114

1215
import {
1316
getConfigValueOrUndef,

0 commit comments

Comments
 (0)