Skip to content

Commit 6a3d75c

Browse files
authored
docs: Clarification in oxc guide (#12207)
### Description Clarify that packages that need building are the ones that need building.
1 parent 9699173 commit 6a3d75c

File tree

1 file changed

+2
-2
lines changed
  • apps/docs/content/docs/guides/tools

1 file changed

+2
-2
lines changed

apps/docs/content/docs/guides/tools/oxc.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ Register the scripts to Turborepo as [Root Tasks](/docs/crafting-your-repository
101101
You can now run `turbo run lint` to lint your entire repository.
102102

103103
<Callout type="warn" title="Type-aware linting">
104-
If you enable [type-aware linting rules](https://oxc.rs/docs/guide/usage/linter/config#type-aware-linting) in oxlint, the linter needs TypeScript type information to work correctly. This means any dependencies that must be built before type-checking (such as internal packages in your monorepo) also need to be built before linting.
104+
If you enable [type-aware linting rules](https://oxc.rs/docs/guide/usage/linter/config#type-aware-linting) in oxlint, the linter needs TypeScript type information to work correctly. This means any dependencies that must be built before type-checking (such as [Compiled Packages](/docs/core-concepts/internal-packages#compiled-packages) in your monorepo) also need to be built before linting.
105105

106-
Run your builds before linting in CI:
106+
For example, to build Compiled Packages before running formatting and linting:
107107

108108
```bash title="Terminal"
109109
turbo run build --filter=./packages/* && turbo run lint

0 commit comments

Comments
 (0)