Skip to content
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

fix: allow any args and referencing functions by property name #232

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

achingbrain
Copy link
Member

Disables two rules:

@typescript-eslint/no-unsafe-argument - this prevents passing vars with an any type to functions.

Unfortunately we still deal with untyped modules so this will happen.

@typescript-eslint/unbound-method - this prevents referencing functions without invoking them.

We need to disable this to do things like pass functions passed as part of an options object on to other functions.

Disables two rules:

`@typescript-eslint/no-unsafe-argument` - this prevents passing vars
with an `any` type to functions.

Unfortunately we still deal with untyped modules so this will happen.

`@typescript-eslint/unbound-method` - this prevents referencing functions
without invoking them.

We need to disable this to do things like pass functions passed as
part of an options object on to other functions.
@achingbrain achingbrain merged commit 27ecf3e into main Jul 23, 2024
17 checks passed
@achingbrain achingbrain deleted the fix/relax-ts-rules branch July 23, 2024 13:28
github-actions bot pushed a commit that referenced this pull request Jul 23, 2024
## [7.0.3](v7.0.2...v7.0.3) (2024-07-23)

### Bug Fixes

* allow `any` args and referencing functions by property name ([#232](#232)) ([27ecf3e](27ecf3e))
Copy link

🎉 This issue has been resolved in version 7.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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