Code must be formatted using dart format
.
To format your files, just run checks.sh
or:
dart format .
The TravisCI test will fail if any files need formatting.
The TravisCI test uses dartanalyzer
to check the library for improvements. IF
any are found the TravisCI tests will fail.
To test the dart version first download the dart sdk from Dart main site and run this from the repository root directory:
~/open-location-code$ cd dart && dart test