@sj-distributor/eslint-plugin-react-native

0.3.0 • Public • Published

👨‍💻 @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 @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 eslint-plugin-eslint-plugin --dev

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

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

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?

Package Sidebar

Install

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

Weekly Downloads

3

Version

0.3.0

License

MIT

Unpacked Size

18.2 kB

Total Files

15

Last publish

Collaborators

  • simoonf