Commit 73ea6e2
committed
fix(lint): clean lint debt + repair import paths
`pnpm run check --all` now passes 0 errors (lint + TypeScript).
`pnpm vitest run test/unit/packages/edit.test.mts` passes
83/83 tests (the pkgJsonToEditable concern was already resolved).
- scripts/util/run-command.mts, scripts/lint.mts,
scripts/util/changed-test-mapper.mts: socket-lib's package
`exports` map uses granular paths (./spawn/spawn, ./argv/flag-
predicates, ./git/changed, ./git/staged) — not the consumer-
facing barrels (./spawn, ./argv/flags, ./git). The cascaded
wheelhouse scripts assumed barrels; rewrote imports to match
socket-lib's actual exports.
- bulk import rewrite across 23 scripts/ files: `from
'@socketsecurity/lib/spawn'` → `from '@socketsecurity/lib/spawn/
spawn'`; `from '@socketsecurity/lib/argv/flags'` → `from
'@socketsecurity/lib/argv/flag-predicates'`
- .config/vitest.config.mts + .config/vitest.config.isolated.mts:
the earlier catalog-rename sed produced a duplicate
`@socketsecurity/lib` key (one each from `lib` and `lib-stable`
→ both becoming `lib`); de-duplicated.
- 65 files autofixed by oxlint --fix (export-top-level-functions,
sort-source-methods, etc.)1 parent 4b06e3d commit 73ea6e2
66 files changed
Lines changed: 1137 additions & 965 deletions
File tree
- .config
- oxlint-plugin
- lib
- rules
- test
- docs
- scripts
- ai-lint-fix
- build
- fix
- lockstep
- test
- util
- src/secrets
- test/unit
- env
- fs
- node
- paths
- sea
- stdio
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 48 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
0 commit comments