@sj-distributor/eslint-plugin-react

0.7.1 • Public • Published

👨‍💻 @sj-distributor/eslint-plugin-react

Npm Version MIT License downloads Ci

ESLint presets for react

中文文档

Installation

You first need to install ESLint and the agreed third-party plug-in package:

yarn add eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-import eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-simple-import-sort eslint-plugin-unicorn prettier typescript

Next, install @sj-distributor/eslint-plugin-react:

yarn add @sj-distributor/eslint-plugin-react

Usage

Add eslint-plugin-react to the extends section of your .eslintrc configuration file:

{
  "extends": ["plugin:@sj-distributor/react/recommended"]
}

What rules are used?

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.7.1
    110
    • latest

Version History

Package Sidebar

Install

npm i @sj-distributor/eslint-plugin-react

Weekly Downloads

97

Version

0.7.1

License

MIT

Unpacked Size

17.5 kB

Total Files

15

Last publish

Collaborators

  • simoonf