Skip to content

Conversation

@Aygistov
Copy link
Contributor

@Aygistov Aygistov commented Jan 30, 2025

Closes #124

Copy link
Collaborator

@yurii-prykhodko-solid yurii-prykhodko-solid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add tests.

Copy link
Collaborator

@yurii-prykhodko-solid yurii-prykhodko-solid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also update the changelog, please.

Comment on lines 18 to 19
- method_name: avoidNumberOfParameters
- method_name: avoidNumberOfParameters
- method_name: copyWith
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should check that the standard rule set works -- not a custom subset that we define here.

Let's create a separate nested package inside of lint_test, with its own pubspec and a clean analysis_options which would just import the standard rule set -- and then test on that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made changes, please check.

Copy link
Collaborator

@yurii-prykhodko-solid yurii-prykhodko-solid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just a couple nits.

@yurii-prykhodko-solid yurii-prykhodko-solid merged commit 05be4fa into solid-software:master Jan 31, 2025
1 check passed
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 this pull request may close these issues.

Exclude copyWith method from number_of_parameters rule

2 participants