Skip to content

SFTC/tslint-sf-react

Repository files navigation

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;

About

Lint rules related to React & JSX for TSLint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published