New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-react-ts

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-ts

ESLint plugin for React with TypeScript

  • 0.0.8
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

eslint-plugin-react-ts

Note: This plugin is still in development. It is not recommended to use it on a large scale for the time being.

Todo

Rules

  • react-ts/jsx-key
  • react-ts/jsx-uses-react
  • react-ts/jsx-boolean-value
  • react-ts/jsx-no-comment-textnodes
  • react-ts/jsx-no-leaked-render
  • react-ts/no-children-prop
  • react-ts/no-danger-with-children
  • react-ts/no-direct-mutation-state
  • react-ts/no-is-mounted
  • react-ts/no-render-return-value
  • react-ts/no-string-refs
  • react-ts/no-unescaped-entities
  • react-ts/no-unknown-property
  • react-ts/no-unsafe
  • react-ts/require-render-return

Installation

# npm
npm install --save-dev eslint-plugin-react-ts

# or yarn
yarn add --dev eslint-plugin-react-ts

# or pnpm
pnpm add --save-dev eslint-plugin-react-ts

Usage

Add react-ts to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
 "plugins": ["react-ts"]
}

Then configure the rules you want to use under the rules section.

{
 "rules": {
  "react-ts/rule-name": "error"
 }
}

Keywords

FAQs

Package last updated on 18 Aug 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc