Skip to content

Commit

Permalink
Update README.md (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSheard authored Dec 2, 2021
1 parent 7b2df4b commit 589377e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/eslint-config-modular-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ simply
[`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app)
with dependencies bundled in.

If you want to extend the ESLint configuration in a modular repo, create a file
named `.eslintrc.js` in your project's root folder with the following content:
If you want to extend the ESLint configuration in a modular repo, add the following configuration in your project's root folder `package.json` with the following content:

module.exports = {
extends: "modular-app",
"eslintConfig": {
"extends": "modular-app"
}

That's it! Add your additional config to this file. Read more about
Expand Down

0 comments on commit 589377e

Please sign in to comment.