superfly / fly

Deploy app servers close to your users. Package your app as a Docker image, and launch it in 17 cities with one simple CLI.
https://fly.io
985 stars 48 forks source link

Linting and formatting #168

Closed michaeldwan closed 6 years ago

michaeldwan commented 6 years ago

This adds linting with TSLint (using tslint:recommended) and formatting with Prettier. Also includes an editorconfig file and tweaks VS Code workspace settings to prevent the inbuilt javascript formatter from colliding with prettier.

The source changes in here are limited to formatting and auto-fixed lint errors. I disabled a number of checks that would bloat this PR and are ignoring the lint errors that can't be automatically fixed. I'll try and fix them next week and include linting as part of CI in the coming weeks.