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

Run dartfmt --fix on code #22

Merged
merged 2 commits into from
Mar 22, 2019
Merged

Run dartfmt --fix on code #22

merged 2 commits into from
Mar 22, 2019

Conversation

a14n
Copy link
Contributor

@a14n a14n commented Mar 20, 2019

I only ran dartfmt --fix and change some long ternary operator chains to avoid bad format. Those changes are in two separated commits.

dartfmt ensures the code is uniformly formatted.

The --fix does the following:

  • Use triple slash for documentation comments.
  • Use new syntax for function type typedefs.
  • Use "=" as the separator before named parameter default values.
  • Remove "const" keyword inside constant context.
  • Remove "new" keyword.

@coveralls
Copy link

Coverage Status

Coverage decreased (-6.0%) to 87.273% when pulling 8d1f9b7 on a14n:dartfmt into 8e223f2 on achilleasa:master.

@achilleasa achilleasa merged commit ac925e6 into achilleasa:master Mar 22, 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.

None yet

3 participants