Skip to content

Fix leftover linting errors #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 16, 2025
Merged

Conversation

CDeltakai
Copy link
Contributor

@CDeltakai CDeltakai commented May 15, 2025

Description

This is a simple PR which fixes leftover linting errors discovered by the new js-lint package.

Issues Fixed

Tasks

  • 1. Fix leftover linting errors

Final checklist

  • Domain specific tests
  • Full tests
  • Updated inline-comment documentation
  • Lint fixed
  • Squash and rebased
  • Sanity check the final build

CDeltakai added 2 commits May 15, 2025 20:26
…y interested in its side effect. also silences the linter error assosciated with it
@CDeltakai
Copy link
Contributor Author

Intentionally voiding accessor property expressions in tests as we are only interested in the side effects of the getter and the returned value is discarded.

@CDeltakai CDeltakai self-assigned this May 16, 2025
…n[]) => unknown.

This silences no-unsafe-function-type linting rule and restores minimal type-safety (no implicit any) while leaving runtime behaviour untouched.
@CDeltakai
Copy link
Contributor Author

Replaced the blanket Function types with AnyFn = (...args: unknown[]) => unknown.
This silences no-unsafe-function-type linting rule and restores minimal type-safety (no implicit any) while leaving runtime behaviour untouched.

@CDeltakai CDeltakai merged commit 709ce20 into staging May 16, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants