Skip to content

sj-distributor/eslint-plugin-react-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘¨β€πŸ’» @sj-distributor/eslint-plugin-react-native

Npm Version MIT License downloads Ci

ESLint presets for react native

Installation

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

yarn add eslint eslint-plugin-import eslint-plugin-prettier prettier typescript -D

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

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

Usage

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

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

What rules are used?

  NODES
COMMUNITY 1
Project 3
USERS 1