vite-plugin-oxlint weekly downloads statistics
By 52-entertainment · npm · Vite plugins
Oxlint plugin for vite.
vite-plugin-oxlint has 175,346 recorded weekly downloads on npm, a decrease of 8.4% over the past 30 days, ranking #545 of 3,247 tracked listings.
About vite-plugin-oxlint
⚓️+⚡️Vite Plugin Oxlint
A Vite plugin for integrating the Oxlint linter into your Vite project.
Table of Contents
Installation
npm install vite-plugin-oxlint oxlint
Usage
import oxlintPlugin from 'vite-plugin-oxlint'
export default {
plugins: [oxlintPlugin()]
}
Options
| Option | Type | Default | Description |
|---|---|---|---|
configFile | string | — | Path to a custom oxlint config file (see Configuration file) |
path | string | . | Directory where oxlint runs |
ignorePattern | string | string[] | — | Glob patterns of files to ignore |
allow | string[] | — | Rules/categories to allow (turn off) |
deny | string[] | — | Rules/categories to deny (turn on) |
warn | string[] | — | Rules/categories to warn |
oxlintPath | string | — | Path to the oxlint binary (useful in monorepos) |
format | string | default | Output format (default, agent, checkstyle, github, gitlab, json, junit, sarif, stylish, unix) |
quiet | boolean | false | Suppress warnings, only report errors |
fix | boolean | false | Enable auto-fixing |
failOnError | boolean | false | Fail the build on lint errors |
failOnWarning | boolean | false | Fail the build on lint warnings |
lintOnStart | boolean | true | Run oxlint when the build starts |
lintOnHotUpdate | boolean | true | Run oxlint on every HMR update during dev |
params | string | — | Additional raw CLI flags passed to oxlint |
Advanced Usage
All examples below assume the following setup:
import oxlintPlugin from 'vite-plugin-oxlint'
export default {
plugins: [oxlintPlugin({/* options here */})]
}
Configuration file
Oxlint discovers its own config files (.oxlintrc.json, .oxlintrc.jsonc, oxlint.config.ts) automatically, including nested configs — no option needed. Use configFile only for a custom name or location (a legacy oxlintrc.json at the project root is also picked up). Note: an explicit config file disables nested config discovery, and allow/deny/warn options override its rules.
{
configFile: 'eslintrc.json'
}
Under Vite+ (vp dev / vp build), oxlint behaves like vp lint: it reads the lint block of vite.config.* and ignores .oxlintrc.json files — without a lint block, oxlint silently falls back to its default rules. Set configFile to keep using a separate config file.
Working directory
Restrict linting to a subdirectory. Default is the project root.
{
path: 'src'
}
Ignore patterns
Ignore files using .gitignore-style patterns. See oxlint ignore docs.
Quote patterns to avoid shell glob interpretation.
// Single pattern
{
ignorePattern: '"test.js"'
}
// Multiple patterns
{
ignorePattern: ['"test.js"', '"dist/**"']
}
Allow / Deny / Warn rules
Control which rules or categories are active. Run npx oxlint --rules to list available rules and categories.
These options override any rules defined in the config file.
{
deny: ['correctness', 'perf'], // turn on
allow: ['debugger', 'eqeqeq'], // turn off
warn: ['suspicious']
}
```…
Description from the npm listing.
- oxlint
- vite
- vite-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Vite plugins plugins
All 20 vite-plugin-oxlint alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/vite-plugin-oxlint. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.