Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

dollarshaveclub/tslint-config-dollarshaveclub

Repository files navigation

THIS REPOSITORY HAS BEEN MERGED INTO FACE CONFIG

You can find the latest version in our face-config monorepo, where it will continue to be developed

tslint-config-dollarshaveclub

Build Status Greenkeeper badge

This repository contains Dollar Shave Club Tslint rules.

This project is beta. It will be published soon.

Installation

$ npm install --save-dev tslint-config-dollarshaveclub

Usage

Once the tslint-config-dollarshaveclub package is installed, used by specifying dollarshaveclub.

  • This project will soon support React ts linting.

For frameworkless JavaScript modules:

// tslint.json
{
  "extends": [
    "tslint-config-dollarshaveclub"
  ],
  "rules": {
    "no-unnecessary-type-assertion": false,
    "trailing-comma": false,
    "semicolon": [
      true,
      "never"
    ]
  }
}

For React projects:

// tslint.json
{
  "extends": "tslint-config-dollarshaveclub/react"
}

Dependencies

License

MIT

Releases

No releases published

Packages

No packages published