ESLint configuration used by Create React App
Switch branches/tags
Nothing to show
Clone or download
Latest commit 83a0071 Dec 2, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Fixed .gitignore Feb 13, 2018
LICENSE Create LICENSE Apr 12, 2017 Update Dec 2, 2018
config.js Prettified Feb 13, 2018
index.js Prettified Feb 13, 2018
package-lock.json 4.0.1 Dec 2, 2018
package.json 4.0.1 Dec 2, 2018
plugins.js Prettified Feb 13, 2018

npm version styled with prettier


This plugin exposes the ESLint configuration used by Create React App without the need of declaring all its dependencies.
Use it if you need a simple and tested ESLint configuration without the need of installing a bunch of dependecies.
It also works in React Native out of the box.


This project is not officially maintained (nor officially "supported") by the Create React App team.
Let me know if you discover any issue.


  1. Install it using npm: npm install --development eslint eslint-plugin-react-app.
  2. Extend plugin:react-app/recommended in your .eslintrc.

Example .eslintrc:

  "extends": [

Configuring the rules

You can configure the rules like every other plugin. Just keep in mind that if you want to change a rule of an included plugin (for example of eslint-plugin-react) you must prefix the rule with react-app/ (for preventing namespace collisions).
For example:

  "extends": [
  "rules": {
    "react-app/react/react-in-jsx-scope": ["warn"]

Included plugins  

The currently included create-react-app plugins are the following:


Thanks to fson and its Create React App pull request for the initial idea of this plugin.
Thanks to gaeron and everyone who contributed to Create React App.