Skip to content

Conversation

guilhermecaldas
Copy link
Contributor

  • Applied most health suggestions from https://pub.dev/packages/socket_io#-analysis-tab- using on Pedantic code analysis (except 3 recommended fixes, to avoid logic changes)
  • Code has passed by tests
  • All code change commits include the rule in which they were based

Following the guideline: "Don't access members with this unless avoiding shadowing"
Following the guideline: "Annotate overridden members"
Following the guideline: "Prefer single quotes where they won't require escape sequences"
Following the guideline: "Don't type annotate initializing formals"
Following the guideline: "Try adding a return type to the method"
Following the guideline: "Omit type annotations for local variables"
Following the guideline: "Use generic function type syntax for parameters"
Following the guideline: "DO use curly braces for all flow control structures"
Following guideline: "Use contains instead of indexOf"
Following the guideline: "Use isNotEmpty instead of length" and "Use `isNotEmpty` for Iterables and Maps"
Following the guidelines: "Private field could be final"
Following the guidelines: "Use collection literals when possible"
Following the guidelines:
- Avoid const keyword
- Use adjacent strings to concatenate string literals
- Don't explicitly initialize variables to null
- Prefer using if null operators
- Avoid empty catch blocks
- Prefer using `??=` over testing for null
Code formatted automatically using "dartfmt --fix -w ."
@jumperchen
Copy link
Member

@guilhermecaldas Thanks for the contribution.

@jumperchen jumperchen self-assigned this Dec 25, 2019
@jumperchen jumperchen merged commit 49a74c8 into rikulo:master Dec 27, 2019
jumperchen added a commit that referenced this pull request Dec 27, 2019
jumperchen added a commit that referenced this pull request Dec 27, 2019
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