Skip to content

Commit

Permalink
Use dart format instead of flutter format (deprecated).
Browse files Browse the repository at this point in the history
  • Loading branch information
sownt authored and imaNNeo committed Aug 2, 2023
1 parent dd479e0 commit 5d81d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ You can simply run `make checkstyle`, and if you faced any formatting problem, r

##### Run `make checkstyle` to ensure that your code is formatted correctly
- It runs `flutter analyze` to verify that there is no any warning or error.
- It runs `flutter format --set-exit-if-changed --dry-run .` to verify that code has formatted correctly.
- It runs `dart format --set-exit-if-changed --dry-run .` to verify that code has formatted correctly.

#### Run `make format` to reformat the code
- It runs `flutter format .` to format your code.
- It runs `dart format .` to format your code.


#### Run `make runTests` to ensure that all tests are passing.
Expand Down

0 comments on commit 5d81d61

Please sign in to comment.