Skip to content

Shouldn't flag/auto-fix "assertion" functions #22

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

Closed
helixbass opened this issue Nov 27, 2023 · 0 comments · Fixed by #25
Closed

Shouldn't flag/auto-fix "assertion" functions #22

helixbass opened this issue Nov 27, 2023 · 0 comments · Fixed by #25

Comments

@helixbass
Copy link

Description

This plugin appears to be flagging/auto-fixing Typescript assertion functions which apparently must use function syntax rather than arrow functions

Suggested Solution

Detect assertion functions and don't flag/auto-fix them

renato-bohler added a commit to renato-bohler/eslint-plugin-prefer-arrow-functions that referenced this issue Jan 21, 2024
JamieMason pushed a commit that referenced this issue Feb 25, 2024
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 a pull request may close this issue.

1 participant