Downstream Oxlint configuration

Updated Jul 27, 2026

Load the plugin from the stable package export:

{
  "jsPlugins": ["df12-lints/oxlint-plugin"]
}

A downstream project can enable the same df12 rule contract with:

{
  "rules": {
    "complexity": ["error", { "max": 8, "variant": "classic" }],
    "max-depth": ["error", { "max": 3 }],
    "df12/complex-conditional": [
      "error",
      {
        "maxLogicalOperators": 1,
        "includeTernary": true,
        "includeNullishCoalescing": false
      }
    ],
    "df12/require-module-jsdoc": "error",
    "df12/require-public-jsdoc": "error",
    "df12/require-private-jsdoc": "error"
  }
}