From 1f493bf251b00ee5fca5fdcacf72cd8f793bf2da Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Fri, 20 Jun 2025 16:21:35 -0400 Subject: [PATCH] docs(react): update tutorial for ESLint flat config format (#31672) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update React monorepo tutorial: - Fix reference to .eslintrc.base.json (now eslint.config.mjs) 🤖 Generated with [Claude Code](https://claude.ai/code) ## Current Behavior ## Expected Behavior ## Related Issue(s) Fixes #30199 Co-authored-by: Claude --- docs/shared/tutorials/react-monorepo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/shared/tutorials/react-monorepo.md b/docs/shared/tutorials/react-monorepo.md index ce694d3f66..31dfe78c3c 100644 --- a/docs/shared/tutorials/react-monorepo.md +++ b/docs/shared/tutorials/react-monorepo.md @@ -974,7 +974,7 @@ Next, let's come up with a set of rules based on these tags: - `scope:orders` should be able to import from `scope:orders`, `scope:shared` and `scope:products` - `scope:products` should be able to import from `scope:products` and `scope:shared` -To enforce the rules, Nx ships with a custom ESLint rule. Open the `.eslintrc.base.json` at the root of the workspace and add the following `depConstraints` in the `@nx/enforce-module-boundaries` rule configuration: +To enforce the rules, Nx ships with a custom ESLint rule. Open the `eslint.config.mjs` at the root of the workspace and add the following `depConstraints` in the `@nx/enforce-module-boundaries` rule configuration: ```js {% fileName="eslint.config.mjs" %} import nx from '@nx/eslint-plugin';