Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 742 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 742 Bytes

tslint-sf-react


Lint rules related to React & JSX for TSLint.

Usage

tslint-sf-react has peer dependencies on TSLint and TypeScript.

npm install --save-dev tslint-sf-react [email protected] [email protected]

To use these lint rules with the default preset, use configuration inheritance via the extends keyword. Here's a sample configuration where tslint.json lives adjacent to your node_modules folder:

{
  "extends": [ "tslint-sf-react"],
  "rules": {
    // override tslint-sf-react rules here
    "jsx-wrap-multiline": false
  }
}

Rules

detail rules

Version

v1.0.1 Add hooks rules;