From e9e9d2a25df4e1bdf027a2c5c2ccc1f54893a6ad Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 31 Jul 2025 13:04:56 +0000
Subject: [PATCH 1/2] Initial plan
From 06bce5d88e7eac79afc0da60bf0f41b61be5333b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 31 Jul 2025 13:20:31 +0000
Subject: [PATCH 2/2] Transform linter.md into comprehensive getting started
guide with Next Steps section
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
---
src/docs/guide/usage/linter.md | 293 ++++++++++++++++++++++++++-------
1 file changed, 237 insertions(+), 56 deletions(-)
diff --git a/src/docs/guide/usage/linter.md b/src/docs/guide/usage/linter.md
index 6af850301f..b71de4bfb4 100644
--- a/src/docs/guide/usage/linter.md
+++ b/src/docs/guide/usage/linter.md
@@ -6,11 +6,41 @@ badges:
alt: npm weekly downloads
---
-# Linter (oxlint)
+# Getting Started with Oxlint
-Oxlint is designed to catch erroneous or useless code without requiring any configurations by default.
+Oxlint is an extremely fast JavaScript and TypeScript linter designed to catch erroneous or useless code without requiring any configurations by default. Get up and running in seconds!
+
+## Quick Start
+
+The fastest way to try Oxlint is to run it directly on your project:
+
+::: code-group
+
+```sh [npm]
+$ npx oxlint@latest
+```
+
+```sh [pnpm]
+$ pnpm dlx oxlint@latest
+```
+
+```sh [yarn]
+$ yarn dlx oxlint@latest
+```
+
+```sh [bun]
+$ bunx oxlint@latest
+```
+
+```sh [deno]
+$ deno run npm:oxlint@latest
+```
+
+:::
+
+That's it! Oxlint will automatically scan your JavaScript and TypeScript files and report any issues it finds.
:::info
At this stage, Oxlint can be used to fully replace ESLint in small to medium projects.
@@ -19,28 +49,20 @@ For larger projects, our advice is to turn off ESLint rules via [eslint-plugin-o
and run Oxlint before ESLint in your local or CI setup for a quicker feedback loop.
:::
-## Features
-
-- 50 - 100 times faster than ESLint, and scales with the number of CPU cores ([benchmark](https://github.com/oxc-project/bench-javascript-linter)).
-- Over 520 rules with a growing list from `eslint`, `typescript`, `eslint-plugin-react`, `eslint-plugin-jest`, `eslint-plugin-unicorn`, `eslint-plugin-jsx-a11y` and [many more](https://github.com/oxc-project/oxc/issues/481).
-- Supports
- - [`.oxlintrc.json` configuration file](./linter/config).
- - [Nested configuration file](./linter/nested-config)
- - [Comment disabling](./linter/config.html#configuring-rules-via-inline-configuration-comments).
- - [Automatic Fixes](./linter/automatic-fixes)
+## Why Oxlint?
-## Language Support
+- **⚡ Blazingly Fast**: 50-100 times faster than ESLint, scales with CPU cores ([benchmark](https://github.com/oxc-project/bench-javascript-linter))
+- **📦 Zero Configuration**: Works out of the box with sensible defaults
+- **🛠️ Rich Rule Set**: Over 520 rules from `eslint`, `typescript`, `eslint-plugin-react`, `eslint-plugin-jest`, `eslint-plugin-unicorn`, `eslint-plugin-jsx-a11y` and [many more](https://github.com/oxc-project/oxc/issues/481)
+- **🔧 Auto-fixing**: Automatically fix many issues with `--fix`
+- **⚙️ Configurable**: Support for [configuration files](./linter/config), [nested configs](./linter/nested-config), and [comment disabling](./linter/config.html#configuring-rules-via-inline-configuration-comments)
-- Supports:
- - JavaScript and TypeScript by their extensions `js`, `mjs`, `cjs`, `jsx`, `ts`, `mts`, `cts` and `tsx`.
- - `