Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

sj-distributor/eslint-plugin-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘¨β€πŸ’» @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?

Packages

No packages published

Contributors 2

  •  
  •