Skip to content

Improve linter.md as a comprehensive getting started guide with Next Steps section #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 31, 2025

This PR transforms the src/docs/guide/usage/linter.md page from a basic linter documentation page into a comprehensive getting started guide for oxlint, addressing the issue request to "improve the page as a getting started page for oxlint" and "add a 'next steps' section to instruct users."

What Changed

🎯 Better User Experience

  • Title: Changed from "Linter (oxlint)" to "Getting Started with Oxlint"
  • Introduction: More welcoming description emphasizing speed and ease of use
  • Structure: Reorganized content flow for better learning progression:
    • Quick Start → Why Oxlint? → Installation → Basic Usage → Next Steps → Technical Details

📚 Enhanced Installation & Basic Usage

  • Try it now section: Clearer emphasis on no-install trial experience
  • npm scripts examples: Added practical package.json examples for development workflows
  • Multiple package managers: Comprehensive support for npm, pnpm, yarn, bun, and deno
  • Basic usage examples: Step-by-step commands for common scenarios

🚀 Comprehensive Next Steps Section

Added 8 major categories of guidance based on oxc_linter crate analysis:

  1. 🔧 Customize Rules and Configuration - Creating .oxlintrc.json with practical examples
  2. 🚀 Set Up CI/CD Integration - GitHub Actions, GitLab CI, Jenkins examples with best practices
  3. 🔄 Migrate from ESLint - Step-by-step migration strategy for existing projects
  4. ⚡ Unlock Advanced Features - Auto-fixes, framework-specific linting, nested configs
  5. 🏗️ IDE and Editor Integration - VS Code, Zed, and LSP setup
  6. 🛠️ Development Workflow Integration - lint-staged, pre-commit hooks, build tools
  7. 📊 Performance Optimization - Tips for large codebases and incremental linting
  8. 🤝 Get Help and Stay Updated - Community resources and support channels

🔗 Rich Cross-References

Each section includes "Learn more" links to relevant detailed documentation pages, creating a clear learning path from basic usage to advanced features.

Visual Results

The new page structure provides a much more user-friendly experience:

Getting Started Page

Next Steps Section

Impact

This change transforms the linter documentation from a reference-style page into a proper onboarding experience that:

  • Gets users running oxlint in seconds with the Quick Start section
  • Explains the value proposition clearly in "Why Oxlint?"
  • Provides a comprehensive roadmap for becoming a power user
  • Maintains all technical information in the Technical Details section

The page now serves as both an entry point for new users and a comprehensive guide for existing users wanting to unlock oxlint's full potential.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cdn.jsdelivr.net
    • Triggering command: node /home/REDACTED/work/oxc-project.github.io/oxc-project.github.io/node_modules/.bin/../vitepress/bin/vitepress.js dev (dns block)
  • plugins.dprint.dev
    • Triggering command: /home/REDACTED/work/oxc-project.github.io/oxc-project.github.io/node_modules/.pnpm/[email protected]/node_modules/dprint/dprint fmt -- src/docs/guide/usage/linter.md (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link

netlify bot commented Jul 31, 2025

Deploy Preview for oxc-project ready!

Name Link
🔨 Latest commit 06bce5d
🔍 Latest deploy log https://app.netlify.com/projects/oxc-project/deploys/688b6da50018780008b178dd
😎 Deploy Preview https://deploy-preview-431--oxc-project.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Copilot Copilot AI changed the title [WIP] Improve the page @oxc-project/oxc-project.github.io/files/src/docs/guide/usage/linter.md as a getting started page for oxlint, add a "next steps" section to instruct users. Study @oxc-project/oxc/files/crates/oxc_linter for relevant details. Improve linter.md as a comprehensive getting started guide with Next Steps section Jul 31, 2025
@Copilot Copilot AI requested a review from Boshen July 31, 2025 13:22
Copilot finished work on behalf of Boshen July 31, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants