@goauthentik/oxlint-config
v1.0.1
Published
authentik's Oxlint config
Readme
@goauthentik/oxlint-config
authentik shared oxlint configuration.
Install
npm install -D @goauthentik/oxlint-config oxlintoxlint is a peer dependency. Node >=24 is required (oxlint runs the .ts config and the JS
header plugin via Node).
Usage
Create an oxlint.config.ts (oxlint auto-discovers it):
import { createOxlintConfig } from "@goauthentik/oxlint-config";
export default createOxlintConfig({
// per-repo tweaks, e.g. ignorePatterns
});Platform layering
Files are matched by their final name segment, and cross-runtime imports are flagged via core
no-restricted-imports:
browser→client,browsernode→server,node,sdkagnostic→shared,commonworker→worker
A *-client file importing a *-server package (or vice versa) is an error; *-shared/*-common
files may not import Node built-ins at all.
