Skip to content

Add oxlint complexity rule - #3

Open
karsten-bot wants to merge 5 commits into
mainfrom
add-complexity-rule
Open

karsten-bot wants to merge 5 commits into
mainfrom
add-complexity-rule

Conversation

@karsten-bot

@karsten-bot karsten-bot commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • enable Oxlint’s built-in cyclomatic complexity rule with a maximum of 20
  • avoid the JavaScript complexity plugin and its dependencies
  • check every function, including short functions with dense branching

Verification

  • built-in rule accepts complexity 20
  • built-in rule reports complexity 21 with Maximum allowed is 20
  • confirmed plugin configuration and dependencies are absent
  • git diff --check

Linear: TIM-338

@TimoBechtel
TimoBechtel marked this pull request as draft May 26, 2026 16:17
@karsten-bot
karsten-bot marked this pull request as ready for review August 27, 2026 08:21
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