<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1" -->

---
title: Type-Aware Linting Alpha | daily.dev
description: Oxlint's type-aware linting has reached alpha status, adding 43 type-aware rules (like no-floating-promises and no-misused-promises) powered by tsgolint, a...
canonical: https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Type-Aware Linting Alpha | daily.dev
og:description: Oxlint's type-aware linting has reached alpha status, adding 43 type-aware rules (like no-floating-promises and no-misused-promises) powered by tsgolint, a...
og:url: https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1
og:image: https://api.daily.dev/og/posts/QDuDyyXL1.png
og:image:alt: Type-Aware Linting Alpha
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Type-Aware Linting Alpha

**[Oxc](https://daily.dev/sources/oxc)** · 7 min read · 0 upvotes · 0 comments

## Summary

Oxlint's type-aware linting has reached alpha status, adding 43 type-aware rules (like no-floating-promises and no-misused-promises) powered by tsgolint, a Go-based backend built on Microsoft's typescript-go. New features since the August technical preview include optional type-checking while linting, rule configuration support matching typescript-eslint options, inline disable comments, automatic --fix support, and reporting of tsconfig diagnostics. Benchmarks show oxlint with type-aware linting running roughly 8-12x faster than ESLint with typescript-eslint on projects like vuejs/core and outline/outline. Because tsgolint relies on typescript-go, only TypeScript 7.0+ features are supported, so legacy tsconfig options like baseUrl are rejected. Next milestones focus on expanding rule coverage toward the full 59 type-aware rules and improving memory usage for large monorepos ahead of a beta release.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://oxc.rs/blog/2025-12-08-type-aware-alpha>

## Questions this post answers

### How do I enable type-aware linting in oxlint?

Install oxlint and oxlint-tsgolint, then run oxlint with the --type-aware flag, for example npx oxlint --type-aware after npm add -D oxlint oxlint-tsgolint@latest. To test a single rule without other configuration, run oxlint --type-aware -A all -D typescript/no-floating-promises with oxlint-tsgolint installed.

_Developers rolling out type-aware linting can track oxlint's evolving setup steps on daily.dev._

### How much faster is oxlint's type-aware linting than ESLint with typescript-eslint?

Oxlint with type-aware linting runs roughly 8 to 12 times faster than ESLint with typescript-eslint in benchmark testing. On vuejs/core it completed in 2.531s versus 20.800s, and on outline/outline in 4.448s versus 55.070s, measured on a MacBook Pro M2 Max with 12 cores.

_Teams comparing linter performance can follow benchmark updates like this on daily.dev._

### Why does oxlint report baseUrl as an error in tsconfig.json?

Because tsgolint is built on typescript-go, Microsoft's Go-based rewrite that will become TypeScript 7.0, and baseUrl has been removed from TypeScript starting in v7.0. Oxlint's type-aware linter now surfaces tsconfig configuration issues as diagnostics instead of failing silently, flagging removed options like baseUrl for removal.

_Developers preparing for TypeScript 7.0 breaking changes can stay ahead of them on daily.dev._

## Similar posts on daily.dev

- [tsgolint Reaches Stable v7, Bringing Go-Powered Type-Aware Linting to Oxlint](https://daily.dev/posts/tsgolint-reaches-stable-v7-bringing-go-powered-type-aware-linting-to-oxlint-ggpdjtur6) · InfoQ · 18 upvotes · 3 comments
- [Fastest Frontend Tooling for Humans & AI](https://daily.dev/posts/fastest-frontend-tooling-for-humans-ai-1cyjijfh9) · Hacker News · 2 upvotes · 0 comments
- [Tales from the Void: July 2026 Recap](https://daily.dev/posts/tales-from-the-void-july-2026-recap-tryxuc4bn) · VoidZero · 29 upvotes · 2 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Type-Aware Linting Alpha","url":"https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1"},"datePublished":"2026-08-23T12:21:27.912Z","dateModified":"2026-08-23T12:39:22.593Z","description":"Oxlint's type-aware linting has reached alpha status, adding 43 type-aware rules (like no-floating-promises and no-misused-promises) powered by tsgolint, a...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a59c09c1e230b487f23c593565b61064?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a59c09c1e230b487f23c593565b61064?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Oxc","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Oxc","logo":"https://media.daily.dev/image/upload/s--Pja5Wjr4--/c_limit,w_256/f_auto,q_auto/v1787487464/logos/oxc?_a=BAMAMicg0","url":"https://daily.dev/sources/oxc"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,typescript","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Oxc","item":"https://daily.dev/sources/oxc"},{"@type":"ListItem","position":3,"name":"Type-Aware Linting Alpha"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/type-aware-linting-alpha-qdudyyxl1#faq","mainEntity":[{"@type":"Question","name":"How do I enable type-aware linting in oxlint?","acceptedAnswer":{"@type":"Answer","text":"Install oxlint and oxlint-tsgolint, then run oxlint with the --type-aware flag, for example npx oxlint --type-aware after npm add -D oxlint oxlint-tsgolint@latest. To test a single rule without other configuration, run oxlint --type-aware -A all -D typescript/no-floating-promises with oxlint-tsgolint installed. Developers rolling out type-aware linting can track oxlint's evolving setup steps on daily.dev."}},{"@type":"Question","name":"How much faster is oxlint's type-aware linting than ESLint with typescript-eslint?","acceptedAnswer":{"@type":"Answer","text":"Oxlint with type-aware linting runs roughly 8 to 12 times faster than ESLint with typescript-eslint in benchmark testing. On vuejs/core it completed in 2.531s versus 20.800s, and on outline/outline in 4.448s versus 55.070s, measured on a MacBook Pro M2 Max with 12 cores. Teams comparing linter performance can follow benchmark updates like this on daily.dev."}},{"@type":"Question","name":"Why does oxlint report baseUrl as an error in tsconfig.json?","acceptedAnswer":{"@type":"Answer","text":"Because tsgolint is built on typescript-go, Microsoft's Go-based rewrite that will become TypeScript 7.0, and baseUrl has been removed from TypeScript starting in v7.0. Oxlint's type-aware linter now surfaces tsconfig configuration issues as diagnostics instead of failing silently, flagging removed options like baseUrl for removal. Developers preparing for TypeScript 7.0 breaking changes can stay ahead of them on daily.dev."}}]}
```

