Skip to content

Integrate Renovate Update Dev Deps and Fix the resulting Linting Errors.#1149

Open
FSG-Cat wants to merge 8 commits into
mainfrom
FSG-Cat/resolve-dev-deps
Open

Integrate Renovate Update Dev Deps and Fix the resulting Linting Errors.#1149
FSG-Cat wants to merge 8 commits into
mainfrom
FSG-Cat/resolve-dev-deps

Conversation

@FSG-Cat
Copy link
Copy Markdown
Member

@FSG-Cat FSG-Cat commented May 21, 2026

Its known that this PR does not lint cleanly yet its just Cat is not confident about how to Fix the last linting error so Cat decided time to push this if its time for collaboration to fix that last error.

This PR is derived from a slightly earlier version of #664 and a PR like this was required due to the whole fucking slew of linting errors.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 21, 2026

⚠️ No Changeset found

Latest commit: f674cfb

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

@github-actions
Copy link
Copy Markdown

GHCR image refs for this PR:

  • Namespace: ghcr.io/the-draupnir-project/draupnir
  • Branch tag: FSG-Cat-resolve-dev-deps
  • Package Page: GHCR Link
  • Pull: docker pull ghcr.io/the-draupnir-project/draupnir:FSG-Cat-resolve-dev-deps

This comment is generated from PR metadata only. It does not checkout or run PR code and is generated in a static manner

@FSG-Cat FSG-Cat requested a review from Gnuxie May 21, 2026 20:04
@FSG-Cat FSG-Cat force-pushed the FSG-Cat/resolve-dev-deps branch from a8c67a1 to c3d4d10 Compare May 22, 2026 08:01
renovate Bot and others added 8 commits May 26, 2026 10:17
Draupnir\packages\mps-interface-adaptor\src\MPSInterfaceAdaptor\MPSMatrixInterfaceAdaptor.ts
  42:10  error  'Result' is defined but never used  @typescript-eslint/no-unused-vars
Draupnir\packages\mps-interface-adaptor\src\MPSInterfaceAdaptor\MPSMatrixInterfaceAdaptor.ts
  42:10  error  'Result' is defined but never used  @typescript-eslint/no-unused-vars
Draupnir\apps\draupnir\src\protections\ProtectedRoomsSetRenderers.tsx
  20:10  error  'Result' is defined but never used  @typescript-eslint/no-unused-vars
\Draupnir\packages\interface-manager\src\Command\CommandTable.ts
  19:3  error  'Presentation' is defined but never used  @typescript-eslint/no-unused-vars
Draupnir\apps\draupnir\test\appservice\integration\managedBootstrapStartTest.ts
  5:10  error  'StringUserID' is defined but never used  @typescript-eslint/no-unused-vars
Draupnir\packages\matrix-protection-suite\src\Protection\ProtectionHandles.test.ts
  10:10  error  'PowerLevelsEventContent' is defined but never used  @typescript-eslint/no-unused-vars
Draupnir\apps\draupnir\src\webapis\SynapseHTTPAntispam\SpamCheckEndpointPluginManager.ts
  43:36  error  Promise returned in function argument where a void return was expected  @typescript-eslint/no-misused-promises

Trying to fix this naively will lead to a cascade of issues but this is ultimately a fix via splitting into blocking and non blocking.
@FSG-Cat FSG-Cat force-pushed the FSG-Cat/resolve-dev-deps branch from c3d4d10 to f674cfb Compare May 26, 2026 08:44
@FSG-Cat FSG-Cat marked this pull request as ready for review May 26, 2026 08:51
Comment on lines -39 to 47
public unregisterHandle(
handle: BlockingCallback<CBArguments> | NonBlockingCallback<CBArguments>
public unregisterBlockingHandle(handle: BlockingCallback<CBArguments>): void {
this.blockingHandles.delete(handle);
}

public unregisterNonBlockingHandle(
handle: NonBlockingCallback<CBArguments>
): void {
this.blockingHandles.delete(handle as BlockingCallback<CBArguments>);
this.nonBlockingHandles.delete(handle as NonBlockingCallback<CBArguments>);
this.nonBlockingHandles.delete(handle);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

But why?

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.

Rules changed and the original way this file was written violates lint rules. I only have the exact lint error from after the fix was run.

@@ -32,221 +32,213 @@ describe("Test: The redaction command", function () {
this.moderator?.stop();
});
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What is going on in this file? what did you change and why? It's not really possible to tell from the diff mew

const previewResult = (
await draupnir.sendTextCommand(
draupnir.clientUserID,
`!draupnir unban ${falsePositiveUserID}`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same in this file, it is impossible to tell what is happening, possibly due to also a prettier version bump mixed in with other changes? I can't tell mew

@Gnuxie
Copy link
Copy Markdown
Member

Gnuxie commented May 26, 2026

maybe changes to prettier need to be isolated in the renovate config too mew

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants