From 0f1c515d44499c77ac828294ee614bbeb2fac1c6 Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Sun, 18 Oct 2026 18:20:46 +0900 Subject: [PATCH] build(lint): enforce the AGENTS.md size and complexity rules Add oxlint max-params (3), max-depth (2), complexity (10), and max-lines (500) so the numeric coding rules are checked mechanically. Refs furedea/dotfiles#213 Co-Authored-By: Claude Opus 5.5 --- .oxlintrc.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.oxlintrc.json b/.oxlintrc.json index 3e0b31f..a639dd3 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -8,7 +8,11 @@ } }, "rules": { + "complexity": ["error", { "max": 10 }], "import/no-cycle": "error", + "max-depth": ["error", { "max": 2 }], + "max-lines": ["error", { "max": 500 }], + "max-params": ["error", { "max": 3 }], "typescript/await-thenable": "error", "typescript/no-floating-promises": "error", "typescript/no-misused-promises": "error"