{
  "id": "lint/oxlint",
  "family": "lint-results",
  "description": "Compact Oxlint output while preserving diagnostics.",
  "match": {
    "toolNames": ["exec"],
    "commandIncludes": ["oxlint"]
  },
  "transforms": {
    "stripAnsi": true,
    "dedupeAdjacent": true,
    "trimEmptyEdges": true
  },
  "summarize": {
    "head": 14,
    "tail": 10
  },
  "failure": {
    "preserveOnFailure": true,
    "head": 18,
    "tail": 18
  },
  "counters": [
    {
      "name": "error",
      "pattern": "\\berror\\b",
      "flags": "i"
    },
    {
      "name": "warning",
      "pattern": "\\bwarning\\b",
      "flags": "i"
    }
  ]
}
