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.
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.