Skip to content

Update to latest lints and Dart SDK#828

Merged
osa1 merged 8 commits intomasterfrom
lint_update
May 31, 2023
Merged

Update to latest lints and Dart SDK#828
osa1 merged 8 commits intomasterfrom
lint_update

Conversation

@kevmoo
Copy link
Copy Markdown
Collaborator

@kevmoo kevmoo commented May 1, 2023

No description provided.

@kevmoo kevmoo requested a review from osa1 May 1, 2023 22:23
@kevmoo
Copy link
Copy Markdown
Collaborator Author

kevmoo commented May 3, 2023

@mraleph ?

Comment thread protobuf/lib/src/protobuf/coded_buffer_writer.dart
@mraleph
Copy link
Copy Markdown
Member

mraleph commented May 3, 2023

I will let @osa1 review once he has cycles.

Copy link
Copy Markdown
Contributor

@osa1 osa1 left a comment

Choose a reason for hiding this comment

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

Most of the changes LGTM, but I'm not sure if the changes in coded_buffer_writer are safe (added an inline comment).

Secondly, we should land #816 first or opt-out from internal lints in the internal version (which I think makes sense given the package is third-party) and revert the CLs listed in #816.

I have no cycles to keep these two versions in sync and this kind of style changes (either in the internal version or open source) only make it difficult for actual users to make changes. For example #825 is for an internal user and we have to do those changes manually in the internal version to be able to test and actually use it. #790 is another example of a useful change.

Comment thread protobuf/lib/src/protobuf/coded_buffer_writer.dart
@kevmoo kevmoo marked this pull request as draft May 4, 2023 22:24
@kevmoo kevmoo marked this pull request as ready for review May 27, 2023 02:01
@kevmoo
Copy link
Copy Markdown
Collaborator Author

kevmoo commented May 27, 2023

@osa1 – now ready for your review!

Comment thread protoc_plugin/test/message_test.dart
Comment thread protoc_plugin/test/message_test.dart
Comment thread protobuf/test/list_test.dart
@kevmoo
Copy link
Copy Markdown
Collaborator Author

kevmoo commented May 30, 2023

@osa1 – PTAL

@osa1 osa1 merged commit da6953c into master May 31, 2023
@osa1 osa1 deleted the lint_update branch May 31, 2023 09:51
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.

3 participants