Update formatting for all pure Dart code in the repo.
Translate AtScript in examples/e2e_test to TypeScript. Closes #2294