TSLint configuration for Storytel
Storytel coding conventions for TypeScript projects. Linting with TSLint.
Save the configuration
yarn add tslint-config-storytel
npm install --save-dev tslint-config-storytel
And start linting (edit folders as appropriate):
If you're adding this to an existing project, chances are there will be
a lot of linting errors. Let
tslint fix what it can for you:
tslint --fix 'src/**/*.ts?(x)'
Inspect the changes (
git diff) it made. Never trust anything.
It wont fix everything, but it will get you a bit on your way.