/eslint-config-react-strong

ESLint strong (strict) config for React and React Native development.

Primary LanguageJavaScriptMIT LicenseMIT

eslint-config-react-strong

npm-version npm-downloads

GitHub Followers Twitter Follow

ESLint strong (strict) config for React and React Native development.

Quick start

Installation

yarn

yarn add -D eslint eslint-config-react-strong @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native eslint-plugin-jest eslint-plugin-unused-imports eslint-import-resolver-typescript

npm

npm install --save-dev eslint eslint-config-react-strong @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native eslint-plugin-jest eslint-plugin-unused-imports eslint-import-resolver-typescript

Usage

Add "react-strong" to the "extends" array in your .eslintrc.* file. Make sure to put it last, so it gets the chance to override other configs.

{
  "extends": [
    "...",
    "react-strong"
  ]
}

Other configs

Plugins included in this project