Skip to content
Myr

oxlint.config.ts

This file

Path

oxlint.config.ts

21 lines · 874 bytes · TypeScript

Last changed by

landed by oscabriel6182530

History of this file

Take it

landed by oscabriel6182530

lines 1–21
1import { defineConfig } from "oxlint";
2import antiSlop from "ultracite/oxlint/anti-slop";3import core from "ultracite/oxlint/core";45export default defineConfig({6 extends: [core, antiSlop],7 ignorePatterns: [8 ...(core.ignorePatterns ?? []),9 // The rule's fixtures keep the faults its test points at.10 "tools/oxlint/burrow/fixtures/**",11 ],12 jsPlugins: [{ name: "burrow", specifier: "./tools/oxlint/burrow/index.ts" }],13 rules: {14 // Every package's src/ runs inside long-lived server processes: state15 // kept in a module is shared by every request they handle. A warning16 // until the last module-level binding is gone, so the lint and its hook17 // stay green meanwhile; the count may only fall (the project's ratchet,18 // README "How we keep it tidy"). Then it becomes an error.19 "burrow/no-module-level-mutable-state": "warn",20 },21});