Urgent.News

the world's headlines, one feed

Tech

Why Vite Asked Me to Choose Between Oxlint and ESLint

While initializing a new Vite project ( npx create-vite ), I hit an interactive CLI prompt that paused my standard workflow: ◆ Which linter to use? ● Oxlint ○ ESLint Having relied on ESLint as my default linter for years, this piqued my curiosity. The filled bullet ( ● ) wasn't a formal endorsement from Vite—it was simply where the CLI cursor landed—but it made me pause. Why is Vite offering…

When starting a new Vite project using `npx create-vite`, I encountered a prompt asking which linter to employ: Oxlint or ESLint. Although Vite did not explicitly endorse Oxlint over ESLint, the cursor placement in the CLI made me pause and consider the implications of this choice. Vite’s decision to present both linters as first-class options during project creation reflects the evolving frontend ecosystem, which now embraces native tooling like SWC, Biome, and Rollup.

Vite does not compel developers to pick a specific linter; it allows them to choose based on their preferences and project requirements. Oxlint, developed as part of the Oxc (Oxidized Compiler) project, is a Rust-based linter that offers faster execution and reduced startup overhead compared to ESLint, which runs on Node.js/JavaScript.

While ESLint boasts a mature and extensive plugin ecosystem, Oxlint currently focuses on catching common correctness bugs, React hook pitfalls, and type safety issues with minimal setup overhead. Benchmarks suggest Oxlint may provide quicker local feedback, which could enhance the development workflow. To explore these differences firsthand, I decided to use Oxlint for my initial Vite build.

As I develop the project, I plan to monitor Oxlint’s effectiveness in catching errors during active development and assess its limitations, if any. My next steps include experimenting with a hybrid setup—using Oxlint for local development and pre-commit hooks, while reserving ESLint for CI/CD pipelines to accommodate complex custom rules and team-wide policies.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written; read the original for the full account.

Read the original at dev.to →

More in Tech

How We Solved 360 Video Streaming & Real-Time Uploading for iOS Devices

When building real-time media applications—especially in high-stakes environments like remote exam proctoring—supporting mobile devices comes with a unique set of technical hurdles.

  • Dynamic wildcard subdomains mapped to production PFX certificate in memory for iOS TLS compatibility
  • Sequence-aware buffering maintained video stream order during network fluctuations
  • In-memory buffer decoding piped video chunks directly to cloud storage, eliminating disk writes

The beginning of my journey

I was interested in cybersecurity (mainly offensive) for a long time but I had no idea where to start. I remember finding a few apps on my phone and them being so superficial that I temporarily…

  • Journey into cybersecurity began with curiosity about offensive side
  • Ethical hacking concept sparked interest after discovering TryHackMe
  • Continued learning through HackTheBox while exploring game development and bioinformatics

What Should You Send a Rive Animator Before Starting a Project?

What Should You Send a Rive Animator Before Starting a Project? You found a Rive animator. You like their work, you have a project in mind, and you are ready to ask for a quote.

  • Provide Figma file or direct link to product for visualization
  • Share original vector assets (SVG/Figma) for editable layers
  • List specific animation states (Idle, Wave, Success, etc.)