Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default complexity #337

Merged
merged 4 commits into from
Sep 19, 2023
Merged

Conversation

arendjr
Copy link
Contributor

@arendjr arendjr commented Sep 19, 2023

Summary

Changes the default complexity for the noExcessiveComplexity rule from 10 to 15 based on feedback on Discord.

Also mentioned in the docs that this rule is using the Cognitive Complexity algorithm.

Test Plan

Tests are updated.

@github-actions github-actions bot added A-Project Area: project A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages labels Sep 19, 2023
@Conaclos Conaclos self-requested a review September 19, 2023 14:52
@Conaclos Conaclos merged commit d7a799e into biomejs:main Sep 19, 2023
@Conaclos Conaclos removed their request for review September 19, 2023 14:59
@arendjr arendjr deleted the change-default-complexity branch September 19, 2023 15:41
@Conaclos Conaclos added the A-Changelog Area: changelog label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Linter Area: linter A-Project Area: project A-Website Area: website L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants