refs https://github.com/TryGhost/DevOps/issues/50 - this switches the .eslint configs from `node` to `ts`, which is a new config to support eslint for TypeScript - also makes minor changes to adhere to these new rules