You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/blog/2025-12-01-type-aware-alpha.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ bunx oxlint --type-aware -A all -D typescript/no-floating-promises
76
76
77
77
For more configuration options, see our [usage guide](/docs/guide/usage/linter/type-aware).
78
78
79
-
## What's New
79
+
## What's new
80
80
81
81
### Support for type-checking while linting
82
82
@@ -163,7 +163,7 @@ $ oxlint --type-aware
163
163
164
164
[Add performance benchmarks and comparisons]
165
165
166
-
## Technical Details
166
+
## Technical details
167
167
168
168
### Architecture
169
169
@@ -183,7 +183,7 @@ tsgolint (Go)
183
183
184
184
This design keeps Oxlint's core fast while leveraging TypeScript's type system through typescript-go. The frontend-backend separation means `oxlint` controls the user experience while `tsgolint` handles the heavy lifting of type analysis.
185
185
186
-
### TypeScript Compatibility
186
+
### TypeScript compatibility
187
187
188
188
`tsgolint` is based on [typescript-go](https://github.com/microsoft/typescript-go), Microsoft's TypeScript v7.0 rewrite in Go, not the original TypeScript compiler. This means that you might encounter some features which are no longer supported.
189
189
@@ -195,16 +195,20 @@ This design keeps Oxlint's core fast while leveraging TypeScript's type system t
195
195
196
196
If you're using deprecated features from TypeScript 6.0 or earlier, you'll need to migrate your codebase first. See the [TypeScript migration guide](https://github.com/microsoft/TypeScript/issues/62508#issuecomment-3348649259) for help updating deprecated tsconfig options.
197
197
198
-
### Implementation Details
198
+
### Implementation details
199
199
200
200
`tsgolint` doesn't use typescript-go's public APIs. Instead, it compiles typescript-go by [shimming](https://github.com/oxc-project/tsgolint/tree/main/shim) internal APIs to make them accessible. We actively track typescript-go updates and fix breaking changes as needed.
201
201
202
202
Our typescript-go fork is synced regularly using renovatebot, ensuring we stay current with the latest improvements and fixes.
203
203
204
-
## What's Next
204
+
### Known issues
205
+
206
+
While `tsgolint` is ready for testing in production codebases, you may encounter issues with running out of memory when working with very large codebases. We are working on optimizing the memory usage for the next milestone. We would love if you tried `tsgolint` and reported any out-of-memory issues to us in the [`tsgolint` repository](https://github.com/oxc-project/tsgolint) and included some details about your project to help us improve memory usage.
0 commit comments