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

Change dartfmt to dart format #3108

Open
larryaasen opened this issue Oct 9, 2021 · 1 comment
Open

Change dartfmt to dart format #3108

larryaasen opened this issue Oct 9, 2021 · 1 comment

Comments

@larryaasen
Copy link

The recommended Dart format command is now dart format instead of dartfmt. The file docs-travis-ci-com/user/languages/dart.md should be updated to reflect this.

@vanlooverenkoen
Copy link

Any idea on how we can get this to work?

This was our old config:

language: dart
dart:
  - stable
dart_task:
  - test
  - dartanalyzer: --fatal-warnings .
  - dartfmt

This is our new config:

language: dart
dart:
  - stable
dart_task:
  - test
  - dartanalyzer: --fatal-warnings .
  - format .

But the format command in the new config just runs dart test but I have no idea why?

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

No branches or pull requests

2 participants