Skip to content
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

Issue71_147 configure ci, clean up lints #150

Merged
merged 11 commits into from
Jan 19, 2023
Merged

Conversation

yescorp
Copy link
Collaborator

@yescorp yescorp commented Jan 19, 2023

@yescorp yescorp marked this pull request as ready for review January 19, 2023 06:34
@yescorp yescorp requested a review from alexeyinkin January 19, 2023 06:35
@yescorp yescorp changed the title Issue71 configure ci Issue71_147 configure ci, clean up lints Jan 19, 2023
.github/workflows/dart.yaml Show resolved Hide resolved
Comment on lines 86 to 87
final keys = _openBlocksLinesByIndent.keys.toList();
for (int i = keys.length - 1; i >= 0; i--) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
final keys = _openBlocksLinesByIndent.keys.toList();
for (int i = keys.length - 1; i >= 0; i--) {
for (final indent in _openBlocksLinesByIndent.keys.reversed) {

?

Make an extension getter reversed on Iterable. Make sure its .toList() is non-growable.
https://medium.com/flutter-senior/always-use-non-growable-arrays-if-possible-4864a022a54a

//TODO(Malarg): handle scala multiline blocks
//https://github.com/akvelon/flutter-code-editor/issues/78.
// TODO(Malarg): handle scala multiline blocks
// https://github.com/akvelon/flutter-code-editor/issues/78.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// https://github.com/akvelon/flutter-code-editor/issues/78.
// https://github.com/akvelon/flutter-code-editor/issues/78

Some IDEs may treat . as a part of the URL.

@yescorp yescorp requested a review from alexeyinkin January 19, 2023 12:13
@alexeyinkin alexeyinkin merged commit 38d844a into main Jan 19, 2023
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.

Clean up lints configure pre-commit
2 participants