@ssense/tslint-config

5.0.3 • Public • Published

tslint-config

npm version Build Status

The tslint config we use at SSENSE for all TypeScript projects. It's a combination of base rules provided by tslint as well as rules from tslint-microsoft-contrib.

Installation

  1. Install the package
    • npm install --save-dev tslint @ssense/tslint-config
  2. Create a file named tslint.json in your project root
    • touch tslint.json
  3. Add the contents referenced in the section below to tslint.json
  4. Run tslint
    • ./node_modules/.bin/tslint

tslint.json

{
    "extends": "@ssense/tslint-config"
}

corresponding SSENSE TSLint, TSLint and tslint-microsoft-contrib version

SSENSE VERSION TSLint version tslint-microsoft-contrib version Typescript version
>= 5.x >= 5.x 5.x >= 2.3.x
>= 4.x >= 4.x 4.x
>= 2.x >= 3.2.x 2.x

/@ssense/tslint-config/

    Package Sidebar

    Install

    npm i @ssense/tslint-config

    Weekly Downloads

    14

    Version

    5.0.3

    License

    MIT

    Unpacked Size

    29.8 kB

    Total Files

    17

    Last publish

    Collaborators

    • jude.seide
    • cmoroney
    • alessandro.commodari
    • jeegna.patel
    • jamesslomka
    • ssenses-agupta
    • expense_ssense
    • toya.okeke
    • quinnlangille
    • ssense-admin
    • kaiz
    • maxime.servonnet.ssense
    • ephremsaour
    • non-senses
    • sam-nicolai.johnston
    • carlossense
    • npm1
    • vijayrajasekar
    • dimitrios.nicolacopoulos
    • sikkavarun
    • lclemence
    • nodir.fayzullaev
    • alexnorms
    • mahdieft