@gabrielyotoo/eslint-config-react-native

1.4.1 • Public • Published

@gabrielyotoo/eslint-config-react-native · GitHub license npm version

This is my configuration for ESLint when I develop React Native apps

Installation

Run the following command to install the package

yarn add -D @gabrielyotoo/eslint-config-react-native

This package depends on some other plugins, so you must also install them

yarn add -D @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint eslint-config-prettier eslint-plugin-eslint-comments  \
            eslint-plugin-import eslint-plugin-jest eslint-plugin-jsdoc eslint-plugin-jsx-a11y eslint-plugin-prefer-arrow \
            eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native eslint-plugin-security @react-native-community/eslint-config

Usage

Add the following to your ESLint configuration file

extends:
  ...
  - "@gabrielyotoo/eslint-config-react-native"
parserOptions:
  ...
  project: path/to/your/tsconfig.json

Used Plugins

  • @typescript-eslint/eslint-plugin
  • eslint-comments
  • flowtype
  • import
  • jest
  • jsdoc
  • jsx-a11y
  • prefer-arrow
  • prettier
  • react
  • react-hooks
  • react-native
  • security

Package Sidebar

Install

npm i @gabrielyotoo/eslint-config-react-native

Weekly Downloads

3

Version

1.4.1

License

MIT

Unpacked Size

9.4 kB

Total Files

4

Last publish

Collaborators

  • gabrielyotoo