Skip to content

build(lint): enforce the AGENTS.md size and complexity rules - #18

Merged
furedea merged 1 commit into
mainfrom
build/lint-agents-rules
Oct 18, 2026
Merged

furedea merged 1 commit into
mainfrom
build/lint-agents-rules

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Changes

  • .oxlintrc.json: add max-params (max 3), max-depth (max 2), complexity (max 10), and max-lines (max 500) as errors.
  • Suppression-reason rule: skipped for TypeScript per the plan.

Tool versions checked

  • oxlint 1.87.0: all four rule names exist in configuration_schema.json and are accepted with the options above. A probe file confirmed max-params and max-depth fire at the configured thresholds.

Suppressions

None. The existing code and tests pass without any per-site suppression.

Checks run

  • pnpm run check (format:check, lint, typecheck, test, knip): pass
  • lefthook run pre-commit --all-files (nixfmt, statix, deadnix, format, lint, typecheck, ls-lint): pass
  • commit-msg commitlint: pass

Refs furedea/dotfiles#213

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@furedea
furedea merged commit 6c055fd into main Oct 18, 2026
11 checks passed
@furedea
furedea deleted the build/lint-agents-rules branch October 18, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant