diff --git a/.cspell.json b/.cspell.json index dd7ed6a481c7..ceccb1328b77 100644 --- a/.cspell.json +++ b/.cspell.json @@ -125,6 +125,7 @@ "transpiling", "triaging", "trpc", + "tsconfigrootdir", "tsconfigs", "tseslint", "tsvfs", diff --git a/docs/linting/Typed_Linting.mdx b/docs/linting/Typed_Linting.mdx index 2648acbc51ef..066077bbf779 100644 --- a/docs/linting/Typed_Linting.mdx +++ b/docs/linting/Typed_Linting.mdx @@ -38,7 +38,7 @@ In more detail: - `plugin:@typescript-eslint/recommended-type-checked` is another [recommended configuration](./Configurations.mdx) we provide. This one contains recommended rules that additionally require type information. - `parserOptions.project` tells our parser how to find the TSConfig for each source file (`true` indicates to find the closest `tsconfig.json` for each source file) - If your project is a multi-package monorepo, see [our docs on configuring a monorepo](./typed-linting/Monorepos.mdx). -- `parserOptions.tsconfigRootDir` tells our parser the absolute path of your project's root directory (see [Parser#tsconfigRootDir](../packages/Parser.mdx#tsconfigRootDir)). +- `parserOptions.tsconfigRootDir` tells our parser the absolute path of your project's root directory (see [Parser#tsconfigRootDir](../packages/Parser.mdx#tsconfigrootdir)). With that done, run the same lint command you ran before. You may see new rules reporting errors based on type information!