Skip to content

bring the packages's lints in-line with the Flutter standard #4

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

Merged
merged 3 commits into from
Aug 20, 2018

Conversation

devoncarew
Copy link
Member

  • bring the packages's lints in-line with the Flutter standard

@jacob314

@@ -397,7 +407,11 @@ tries['inclusiveFunctionTrie'] =
*/

int clamp(int value, int min, int max) {
if (value < min) return min;
if (value > max) return max;
if (value < min) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: int now has a clamp method. in a separate CL perhaps switch to it instead.
https://api.dartlang.org/stable/2.0.0/dart-core/num/clamp.html

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, I was not aware; switched over to using this

@devoncarew devoncarew merged commit 2b31c5b into flutter:master Aug 20, 2018
mossmana added a commit to mossmana/devtools that referenced this pull request Dec 14, 2024
mossmana added a commit to mossmana/devtools that referenced this pull request Dec 18, 2024
mossmana added a commit to mossmana/devtools that referenced this pull request Dec 20, 2024
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 6, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 7, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 7, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 13, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 13, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 14, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 15, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 16, 2025
mossmana added a commit to mossmana/devtools that referenced this pull request Jan 29, 2025
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.

2 participants