tslint-config-storytel

3.4.0 • Public • Published

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.

/tslint-config-storytel/

    Package Sidebar

    Install

    npm i tslint-config-storytel

    Weekly Downloads

    10

    Version

    3.4.0

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    7

    Last publish

    Collaborators

    • scstorytel
    • noseglid