Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Update list of enforced lints #81

Merged
merged 4 commits into from
Mar 3, 2021
Merged

Conversation

nshahan
Copy link
Contributor

@nshahan nshahan commented Feb 17, 2021

  • Bump version number.
  • Update README with considered but unused lints.

- [`unnecessary_brace_in_string_interps`]
- [`unnecessary_getters_setters`]
- [`use_full_hex_values_for_flutter_colors`]
- [`unsafe_html`]
Copy link
Contributor

Choose a reason for hiding this comment

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

consider sorting unsafe_html before use_full_hex_values_for_flutter_colors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, done!

CHANGELOG.md Outdated
[`use_full_hex_values_for_flutter_colors`]: https://dart-lang.github.io/linter/lints/use_full_hex_values_for_flutter_colors.html
[`unsafe_html`]: https://dart-lang.github.io/linter/lints/unsafe_html.html
[`avoid_empty_else`]: https://dart-lang.github.io/linter/lints/avoid_empty_else.html
[`curly_braces_in_control_structures`]: https://dart-lang.github.io/linter/lints/curly_braces_in_flow_control_structures.html
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider sorting?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -143,7 +146,7 @@ on web code only.
is too strict, it's okay to `print` in some code.

`avoid_returning_null`
will be obsoleted by NNBD.
will be obsoleted by sound null safety.
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

README.md Outdated
will be obsoleted by NNBD, which comes with type inference for uninitialized
variables.
will be obsoleted by sound null safety, which comes with type inference for
uninitialized variables.
Copy link
Contributor

Choose a reason for hiding this comment

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

This turned out to be wrong!... please remove from the banned list :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@davidmorgan davidmorgan left a comment

Choose a reason for hiding this comment

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

Awesome, thanks :) one more change needed, then I'll merge + check + release.

Thanks!

@nshahan
Copy link
Contributor Author

nshahan commented Feb 22, 2021

@davidmorgan I just realized I forgot to update the package version in the pubspec.yaml. Just want to leave you a note here that I pushed that change after your review.

@davidmorgan
Copy link
Contributor

Awesome, thanks :) publishing...

@davidmorgan davidmorgan merged commit 66f2f6c into googlearchive:master Mar 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants