unplugin-oxlint
Version:
A universal bundler plugin for integrating the Oxlint linter into your project.
18 lines (16 loc) • 395 B
JavaScript
import { createOxlint, unplugin } from "./unplugin-xGR6pJGV.js";
//#region src/index.ts
async function lint(options = {}) {
const ctx = createOxlint({
...options,
watch: false
});
const results = await ctx.setup();
return results;
}
function defineConfig(options = {}) {
return options;
}
var src_default = unplugin;
//#endregion
export { src_default as default, defineConfig, lint };