Skip to content

chore: cleanup Knip issues - #3347

Draft
boneskull wants to merge 6 commits into
boneskull/knipfrom
boneskull/knip-cleanup
Draft

chore: cleanup Knip issues#3347
boneskull wants to merge 6 commits into
boneskull/knipfrom
boneskull/knip-cleanup

Conversation

@boneskull

Copy link
Copy Markdown
Member

This PR will contain multiple commits which address Knip issues.

@boneskull

Copy link
Copy Markdown
Member Author

Warning

This PR is part of a stack and targets branch boneskull/knip, not master.
DO NOT MERGE until chore: add Knip #3346 is merged into master.

📚 Pull Request Stack


Managed by gh-stack

@boneskull boneskull mentioned this pull request Aug 15, 2026
@boneskull
boneskull force-pushed the boneskull/knip-cleanup branch from db5447b to 16c61c4 Compare August 15, 2026 00:45
@boneskull boneskull self-assigned this Aug 15, 2026
@boneskull
boneskull force-pushed the boneskull/knip-cleanup branch 4 times, most recently from 7d65b94 to e09fc7a Compare August 15, 2026 01:22
@endojs endojs deleted a comment from changeset-bot Bot Aug 15, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find a reference to this anywhere, and it's not a script, so.

"@endo/ses-ava": "workspace:^",
"@endo/zip": "workspace:^",
"ava": "catalog:dev",
"c8": "catalog:dev",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this sort of thing, it might be better if we actually add a reference to c8 in scripts, e.g., "test:coverage": "c8 yarn test" would be enough.

* @param {LinkOptions} options
* @deprecated Use {@link link}.
*/
export const assemble = (compartmentMap, options) =>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link.js is not exported, and assemble isn't used anywhere internally.

"lint:types": "tsc"
},
"dependencies": {
"@eslint-community/eslint-utils": "^4.7.0",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're using tseslint's utils to build rules instead.

Comment thread .yarnrc.yml
# `import/*` namespace), while the implementation is the
# actively-maintained import-x soft fork. The pinned-exact version
# tracks security advisories on import-x.
eslint-plugin-import: 'npm:eslint-plugin-import-x@4.16.2'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only referenced in @endo/eslint-plugin now, so it doesn't need to be in the catalog.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a test file without a .test.js extension!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While all of the parser functions are exported directly from each parser implementation module, none of them are actually referenced this way.

I'd argue it doesn't make sense to try to use the parser function without its wrapper implementation.

@changeset-bot

changeset-bot Bot commented Aug 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b9852f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@changeset-bot

changeset-bot Bot commented Aug 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b9852f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant