Skip to content

gabrielyotoo/eslint-config-react-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

Eslint configuration for @gabrielyotoo's React Native projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published