[PR #4488] chore: code cleanup according to unintroduced lints #14679

Closed
opened 2026-03-24 21:50:35 +00:00 by mirror · 0 comments
Owner

Original Pull Request: https://github.com/AppFlowy-IO/AppFlowy/pull/4488

State: closed
Merged: Yes


This PR includes a small bunch of commits, that each clean up the code by targeting a specific lint.

The commits relate to:

  • avoid_redundant_argument_values
  • avoid_unused_constructor_parameters
  • sort_constructors_first (Partially / 60-70%)
  • unnecessary_await_in_return
  • unnecessary_parenthesis

I think merging this would cause some conflicts in existing PRs, albeit not really hard to resolve, but we can choose to pick out any commit from here if we don't want to merge the ones that would cause the most damage at the moment. I don't think there will ever be a "prime time" to do this clean up though, as we keep creating more and more PRs.

It is on purpose that I haven't introduced the lints themselves yet.

**Original Pull Request:** https://github.com/AppFlowy-IO/AppFlowy/pull/4488 **State:** closed **Merged:** Yes --- This PR includes a small bunch of commits, that each clean up the code by targeting a specific lint. The commits relate to: - avoid_redundant_argument_values - avoid_unused_constructor_parameters - sort_constructors_first _(Partially / 60-70%)_ - unnecessary_await_in_return - unnecessary_parenthesis I think merging this would cause some conflicts in existing PRs, albeit not really hard to resolve, but we can choose to pick out any commit from here if we don't want to merge the ones that would cause the most damage at the moment. I don't think there will ever be a "prime time" to do this clean up though, as we keep creating more and more PRs. It is on purpose that I haven't introduced the lints themselves yet.
mirror 2026-03-24 21:50:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#14679
No description provided.