Skip to content
New issue

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

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

Already on GitHub? # to your account

Add LambdaParameterEventTrailing rule #338

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

mrmans0n
Copy link
Owner

Adds a new rule to detect, whenever possible, event lambdas as trailing parameters in a @Composable that emits content.

Closes #330

@mrmans0n mrmans0n force-pushed the nacho/disallow-trailing-event-lambdas branch from f7d3e33 to c052d87 Compare September 20, 2024 09:17
@mrmans0n mrmans0n merged commit ae4d3f6 into main Sep 20, 2024
2 checks passed
@mrmans0n mrmans0n deleted the nacho/disallow-trailing-event-lambdas branch September 20, 2024 09:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule idea: disallow onClick lambdas as last argument in Composable function
1 participant