tslint-config-storytel
v3.4.0
Published
TypeScript configuration rules
Downloads
2
Readme
TSLint configuration for Storytel
Storytel coding conventions for TypeScript projects. Linting with TSLint.
Getting started
Save the configuration
yarn add tslint-config-storytel
or
npm install --save-dev tslint-config-storytel
Create your tslint.json
:
{
"extends": [
"tslint-config-storytel"
]
}
And start linting (edit folders as appropriate):
tslint 'src/**/*.ts?(x)'
Pro-tip
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.