You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@qulix/tslint-config-react

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@qulix/tslint-config-react

TypeScript React Style Guide

0.2.1
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

tslint-config-react

TSLint shareable config for the Qulix React Style Guide

Installation

Install with npm:

$ npm install --save-dev tslint @qulix/tslint-config-react

Install with yarn:

$ yarn --dev tslint @qulix/tslint-config-react

Usage

Once the tslint-config-react package is installed, you can use it by specifying @qulix/tslint-config-react in the extends section of your TSLint configuration.

// tslint.json
{
  "extends": [
    "@qulix/tslint-config-react"
  ],
  "rules": {
    // Additional, per-project rules...
  }
}

Migration

During migration, you can disable rulesets by overriding them in yours .tslint configuration file

The rule set is stored in node_modules/@qulix/tslint-config-react/tslint.js

  "extends": [
    "@qulix/tslint-config-react"
  ],
  "rules": {
    "jsx-no-multiline-js": false,
    "jsx-no-string-ref": false,
  }

License

MIT

Keywords

style guide

FAQs

Package last updated on 05 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts